Den reneste måde at nulstille den automatiske stigning på er at oprette en anden tabel.
MySQL giver kommandoer såsom CREATE TABLE LIKE og RENAME TABLE der er nyttige.
CREATE TABLE table2 LIKE table1;
INSERT INTO table2
SELECT * FROM table1 ORDER BY name;
DROP TABLE table1;
RENAME TABLE table2 TO table1;