RENAME TABLE old_tabela TO new_tabela;
Para renomear tabelas temporárias use essa forma:
ALTER TABLE old_tabela RENAME new_tabela;
RENAME TABLE old_tabela TO new_tabela;
Para renomear tabelas temporárias use essa forma:
ALTER TABLE old_tabela RENAME new_tabela;