i have field on table. it is (interger and primary and autoincrement).
for example it has 1 to 20 digits as 20 records.
when i delete 15 to 20 records from end of it then insert new record to it
with: INSERT INTO dynamic VALUES('0')
, it give "21" digit inestaed of "16".
why?
how do i change it that when i delete records of end of it, it be give the continue of last digit that are in it?
i think i must get the digit of last record then i incrase it then insert:
INSERT INTO dynamic VALUES('lastrecord+1')
is this way right?
is there any better or simpler way?
Thanks