primary │ id │ stuff
1 1 ......
2 2 ......
3 3 ......
4 4 ......
5 5 ......
This is my table. Lets say i deleted table.primary = 3. After that i want to change table.id=4 as id=3 and table.id=5 to id=4. Because i need to rank id one by one. How can i do that after deleting table.primary=3? Thanks.