If you are a beginner, could it just be a simple effect of inserting and deleting multiple times? That is, the number of a record that has been deleted is not reused. So if the last ID is 9, the next one will be 10, but if you delete ID 10, the next one will be 11 and not 10 again, and so on. Does that make sense?