MYSQL数据自增主键归零的方法

truncate table table_name;

当中的‘table_name’为需要归零的表。

还可以删除表的主键,重新创建一个主键。

原文地址:https://www.cnblogs.com/NotPig/p/13156153.html