修改数据库表名

https://jingyan.baidu.com/article/066074d61bd60ac3c21cb08d.html

  1. “show tables ;”可以显示您这个库中的表。

  2. “ rename table 旧表名 to 新表名;”修改您的表名。
  3. 代码如下

SELECT * FROM crm_28.cst_customer;
show tables;
rename table cst_customer to cust_customer;

原文地址:https://www.cnblogs.com/Koma-vv/p/10770700.html