ALTER TABLE table_name AUTO_INCREMENT = 1;
重置自增字段值从1开始
truncate table `table_name`
清空表,保留数据结构
转载于:https://www.cnblogs.com/llll/p/8297178.html
ALTER TABLE table_name AUTO_INCREMENT = 1;
重置自增字段值从1开始
truncate table `table_name`
清空表,保留数据结构
转载于:https://www.cnblogs.com/llll/p/8297178.html