how to rename the column in mysql code example
Example 1: rename table in mysql
RENAME TABLE old_table TO new_table;
Example 2: change column name in mysql
ALTER TABLE tableName CHANGE `oldcolname` `newcolname` datatype(length);
RENAME TABLE old_table TO new_table;
ALTER TABLE tableName CHANGE `oldcolname` `newcolname` datatype(length);