I created a table with just integers, called Integers, with entries from 1 to 74 to find out which Autoincrement IDs have been deleted from the table ATO, which also has 74 rows
SELECT Integers.ID
FROM Integers
LEFT JOIN ATO
ON Integers.ID = ATO.ID
WHERE ATO.ID IS NULL
Is there an internal SQL range table I could have used, something like Range[1-74] so I can spare creating this "useless" Integers table? Something like:
SELECT Range [1-74].ID
FROM Integers
LEFT JOIN ATO
ON Range [1-74].ID = ATO.ID
WHERE ATO.ID IS NULL
I'm testing my design with Microsoft Access because it's quick and dirty and easy to fire SQL queries upon. I will port later to MySQL.