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;
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;