Primärschlüssel MySQL neu bestellen
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);