标签: mysql
我意外重置了上一个索引,现在我需要手动更新它,以便index =表中的行数。
这是什么命令?
答案 0 :(得分:2)
ALTER TABLE tablename AUTO_INCREMENT = 1