1.修改表名:alter table 旧表名 rename 新表名;
2.添加字段:alter table 表名 add 字段名 数据类型【属性】;
3.修改字段:alter table 表名 change 原字段名 新字段名 数据类型【属性】;
4.删除字段:alter table 表名 drop 字段名;
5.添加约束:alter table `student` add constraint `pk_student` primary key `student`(`id`);
alter table `student` add constraint `fk_student grade` foreign key(`grade id`)references `grade`(`id`);