codice:
SELECT   max( id )
FROM     tabella
WHERE   id <=100