Finds out missing number in an auto-incremented column of a table