修改表名
alter table <table_old> rename to <table_new>;
修改变字段名
alter table <table>
rename column <column_old> to <column_new>;
修改表名
alter table <table_old> rename to <table_new>;
修改变字段名
alter table <table>
rename column <column_old> to <column_new>;
转载于:https://www.cnblogs.com/greenZ/p/8723205.html