alter table 表名 add 列名 属性 约束;
alter table 表名 modify 列名 属性 约束;
alter table 表名 add primary key ();
alter table 表 add constraint 外键约束名称 foreign key (列) references 表 (主键列);
alter table 表名 drop constraint外键约束名 ;
alter table 表名 add 列名 属性 约束;
alter table 表名 modify 列名 属性 约束;
alter table 表名 add primary key ();
alter table 表 add constraint 外键约束名称 foreign key (列) references 表 (主键列);
alter table 表名 drop constraint外键约束名 ;