The ID of a book (which is probably what you have next to the ISBN) does not follow the number of books in the library. It is a simple incremental number, unique to that book.
Therefore, if you add, say, 12 books to an empty library, the next book you add will be #13. Now delete book #5. Book #13 is still #13, but there's now only 12 books in the library, and no "ghost book".
Or maybe I didn't understand your question.
|