Answers for "write a query to rename a column in sql"

SQL
11

rename table sql

ALTER TABLE STUDENTS  
RENAME TO ARTISTS;
Posted by: Guest on June-04-2020
0

change column name in sql

MySQL:
ALTER TABLE Customer CHANGE Address Addr char(50);

Oracle:
ALTER TABLE Customer RENAME COLUMN Address TO Addr;
Posted by: Guest on February-06-2021

Code answers related to "write a query to rename a column in sql"

Code answers related to "SQL"

Browse Popular Code Answers by Language