mysql> alter table table1 add price int(10) not null; Query OK, 0 rows affected (0.05 sec) Records: 0 Duplicates: 0 Warnings: 0
//删除一个字段
ALTER TABLE table1 drop id;
mysql 添加表字段
原文:https://www.cnblogs.com/sea-stream/p/11300500.html