Mysql语法收集


增加主键id并自增
alter table hwinfo add id int not null primary key Auto_increment  first;
调整字段顺序
ALTER table hwinfo change `test1` `tese1` varchar(100) after `test2`
#将test1字段调整到test2后面

评论