I have a table as below, order field is like auto increment, but it is not defined as auto_increment because i do not want any gaps in that value
+--------------+
| id | order1|
+--------------+
| 115 | 1 |
| 116 | 2 |
| 117 | 3 |
| 118 | 1 |
| 119 | 2 |
| 120 | 6 |
| 121 | 7 |
| 122 | 8 |
+--------------+
Like if i delete row with id 118 rows with id 119 should have order1 as 3 and rowId 120 should have 4 rowId 121 5
basically i want the order1 column be serial no with no gaps when there are any deletion