alter TABLE user add is_teacher int(4) DEFAULT 0
上面是一个user表增加一个is_teacher 的例子
格式alter table 表名 add 字段名 字段类型(字段长度) 默认方式
alter TABLE user add is_teach varchar(4) DEFAULT null comment 'chenggongl'
comment 为注释