alter name table mysql code example
Example 1: how to edit table name in mysql
RENAME TABLE tb1 TO tb2;
Example 2: change column name in mysql
ALTER TABLE tableName CHANGE `oldcolname` `newcolname` datatype(length);
RENAME TABLE tb1 TO tb2;
ALTER TABLE tableName CHANGE `oldcolname` `newcolname` datatype(length);