Pesan ulang kunci utama MySQL
SET @num := 0;
UPDATE your_table SET id = @num := (@num+1);
Ali Raza Arain
SET @num := 0;
UPDATE your_table SET id = @num := (@num+1);