In questo semplicissimo tutorial imparerete come resettare un campo autoincrement. Per fare quanto detto sarà necessario alterare la tabella impostando a 1 il parametro AUTO_INCREMENT.
ALTER TABLE tablename AUTO_INCREMENT = 1
Leave Your Response