alter table rename in mysql code example
Example 1: how to edit table name in mysql
RENAME TABLE tb1 TO tb2;
Example 2: rename table in mysql
RENAME TABLE old_table TO new_table;
RENAME TABLE tb1 TO tb2;
RENAME TABLE old_table TO new_table;