I'm looking for pure SQL (or MySQL) syntax and I don't know if it's possible else I will create an php script but ...
I have a basic table with one primary key : ID and somes columns. I have no dependance with others tables.
At the moment my rows look like :
ID Column1 Column2
22 test test
26 test2 test2
33 test3 test3
...
Now I want to regenerate all my ID to keep order. Example: I set start at 22
ID Column1 Column2
22 test test
23 test2 test2
24 test3 test3
...