Answers for "how to change column name in select query"

SQL
0

how to change the column name in sql

ALTER TABLE table_name
CHANGE COLUMN old_name TO new_name;
Posted by: Guest on March-17-2021
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 "how to change column name in select query"

Code answers related to "SQL"

Browse Popular Code Answers by Language