I have table like this:
table1:
sr no. | id | name
id is the primary key here.
I want sr no.
to be cyclic.
What attributes i should give to sr no.
field?
For example I have 5 records with sr no
1,2,3,4,5 and id
1,2,3,4,5 and i delete 3rd record then id
will be 1,2,4,5 and sr no.
will be 1,2,3,4
sr no
should not lost its contentiousness.