给一张表新增一个字段
ALTER table student add zz INT(11) DEFAULT 0 COMMENT '0是授权 1未授权' 给表student 新增一个zz的字段 默认是0 后面是注释
给一张表删除一个字段
alter table student drop column nick
给表student删除nick字段
ALTER table student add zz INT(11) DEFAULT 0 COMMENT '0是授权 1未授权' 给表student 新增一个zz的字段 默认是0 后面是注释
alter table student drop column nick
给表student删除nick字段