📜  删除并从 1 个主键 muysql 开始 - 无论代码示例

📅  最后修改于: 2022-03-11 14:58:33.599000             🧑  作者: Mango

代码示例1
alter table yourTableName AUTO_INCREMENT=1; 
truncate table yourTableName; 

//After doing the above two steps, you will get the primary key beginning from 1