mysql alter table change field name code example
Example: how ot change name of column mysql
ALTER TABLE tableName CHANGE `oldcolname` `newcolname` datatype(length);
ALTER TABLE tableName CHANGE `oldcolname` `newcolname` datatype(length);