Check out example codes for "rename column mysql". It will help you in understanding the concepts better.

Code Example 1

ALTER TABLE table_name RENAME COLUMN old_name TO new_name;

Code Example 2

ALTER TABLE tableName CHANGE `oldcolname` `newcolname` datatype(length);
(you can remove the backticks if it doesn't work)

Code Example 3

ALTER TABLE tableName RENAME COLUMN "oldcolname" TO "newcolname" datatype(length);

Code Example 4

ALTER TABLE table_name RENAME COLUMN old_name TO new_name;

Code Example 5

ALTER TABLE your_table_name RENAME COLUMN original_column_name TO new_column_name;

Code Example 6

sp_rename 'table_name.old_column', 'new_name', 'COLUMN';

Learn ReactJs, React Native from akashmittal.com