sql rename table mysql code example
Example 1: how to edit table name in mysql
RENAME TABLE tb1 TO tb2;
Example 2: how to alter table name in mysql
ALTER TABLE table_name
RENAME TO new_table_name;
RENAME TABLE tb1 TO tb2;
ALTER TABLE table_name
RENAME TO new_table_name;