MYSQL 插入数据主键id不连续

对ID不连续的表执行以下语句

alter table t_purchase auto_increment=1;

 

你可能感兴趣的:(SQL)