消除因删除而产生错乱的主键id顺序
alter table 表名 drop column id;
alter table 表名 add id mediumint(8) not null primary key auto_increment first;
标签:Mysql,alter,表名,id,table,主键 From: https://www.cnblogs.com/CQ520/p/17416308.html
消除因删除而产生错乱的主键id顺序
alter table 表名 drop column id;
alter table 表名 add id mediumint(8) not null primary key auto_increment first;
标签:Mysql,alter,表名,id,table,主键 From: https://www.cnblogs.com/CQ520/p/17416308.html