本文介绍了对表做重命名的方法。
1RENAME TABLE 2 tbl_name TO new_tbl_name
重命名多个表的语法如下:
1RENAME TABLE tb_a to tb_b, tb_c to tb_d