I have a situation where there are column (int) named 'position' in table. I need to update that column by increment of 10 for every row. I can create a function for that, but can it be achieved by simple query?
Quick example of current values and desired ones:
| ID | POSITION | .... | WHAT I WANT POSITION TO BE |
1 10 xxx 10
2 21 xxx 20
3 22 xxx 30
5 30 xxx 40
.... etc