reordenar la tecla primaria SQL
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);