MySQL RENAME TABLE Statement
Renaming existing database tables individually or in batch using RENAME TABLE syntax.
-- Rename single table
RENAME TABLE products TO catalog_products;
-- Rename multiple tables in a single atomic transaction
RENAME TABLE
catalog_products TO store_products,
employees TO company_employees;Query OK, 0 rows affected (0.02 sec) Query OK, 0 rows affected (0.02 sec)