Run the following queries to have incremented value in yourField
column:
SELECT @i:=0;
UPDATE yourTable SET yourField = @i:=@i+1;
Run the following queries to have incremented value in yourField
column:
SELECT @i:=0;
UPDATE yourTable SET yourField = @i:=@i+1;