si può fare anche così:

SELECT MAX(id) FROM articoli