IntermediateBasic SELECT
Rename an entire table
The query
SQL
ALTER TABLE employees
RENAME TO staff_members;Note
“Renames the table. Any views or functions referencing this table might need updating depending on how they were created.
ALTER TABLE employees
RENAME TO staff_members;Note
“Renames the table. Any views or functions referencing this table might need updating depending on how they were created.