MySql 自增列

 

让mysql自增列id归0:

  truncate 表名; (会删除表中原有的数据)

 

指定自增列从某个数字开始自增:

  alter table 表名 auto_increment=50;

 

posted on 2017-09-17 10:40  whlshot  阅读(105)  评论(1编辑  收藏  举报

导航