mysql restablecer valor de incremento automático
ALTER TABLE table_name AUTO_INCREMENT = 1;
restablecer índice
df.reset_index(drop=True)
mysql restablecer id de incremento automático
SET @num := 0;
UPDATE your_table SET id = @num := (@num+1);
ALTER TABLE your_table AUTO_INCREMENT =1;
restablecer incremento automático mysql
ALTER SEQUENCE users_id_seq RESTART WITH 1;
# | |
# | |
# | |
# TABLE COLUMN