mysql> alter table test rename as T;
Query OK, 0 rows affected (0.21 sec)
//对字段重命名 alter table test change t_name t_name_new varchar(20);
mysql> alter table test rename as T;
Query OK, 0 rows affected (0.21 sec)
//对字段重命名 alter table test change t_name t_name_new varchar(20);
转载于:https://www.cnblogs.com/dengyg200891/p/6012919.html