mysql 添加表字段

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;

原文地址:https://www.cnblogs.com/sea-stream/p/11300500.html