rename a mysql table code example
Example 1: how to edit table name in mysql
RENAME TABLE tb1 TO tb2;
Example 2: rename table column name in mysql
ALTER TABLE table_name CHANGE old_column_name new_column_name datatype(length);
RENAME TABLE tb1 TO tb2;
ALTER TABLE table_name CHANGE old_column_name new_column_name datatype(length);