I'm not sure if it is possible but is there a way to re-assign an attribute 'id' in a database, Such as id=1,2,3,4,5,6 (6 elements), then id=3 is deleted, so when you look in the database your 'id' is re-assigned back in order like. id=1,2,3,4,5 (5 elements after id=3 is deleted). My 'id' attribute is auto_increment.
id Name
1 A
2 B
3 C
4 D
5 E
6 F
then id=3 is deleted
id Name
1 A
2 B<-- 3 is deleted
4 D<-- name C is deleted
5 E
6 F
I then want to re-assign id back in order
id Name
1 A
2 B
3 D
4 E
5 F
I can't find a way to get this done. I hope you can help.