sql syntax to rename a column code example
Example 1: rename table sql
ALTER TABLE STUDENTS
RENAME TO ARTISTS;
Example 2: change column name sql
ALTER TABLE users
ALTER COLUMN first username varchar(20);
ALTER TABLE STUDENTS
RENAME TO ARTISTS;
ALTER TABLE users
ALTER COLUMN first username varchar(20);