mysql自增

//设置自增
alter table test.new_table MODIFY id INT UNSIGNED AUTO_INCREMENT;
//重置
truncate test.new_table;

猜你喜欢

转载自lysunki.iteye.com/blog/2337462