This question has already been answered:
- Work with id in databases 2 answers
Suppose I have a base:
|ID | Name | Count| | 1 | val1 | 3 | ...... | 7 | val7 | 3 | | 8 | val8 | 3 | | 9 | val9 | 3 | If I delete the last item (9) and add another item, then the ID will be 10.
How do I determine in advance which ID will be assigned to the next product?