after inserting 5 row of table with primary KEY and remove middle of data how to recount to fix primary counts? for example i have this row
|id |name
| 0 |mahdi
| 1 |mojtaba
| 2 |maryam
after remove mojtaba from row i have this:
|id |name
| 0 |mahdi
| 2 |maryam
how to recount id to fix this table:
|id |name
| 0 |mahdi
| 1 |maryam