codice: SELECT MAX(id) AS max FROM tabella e lo richiami come 'max'
SELECT MAX(id) AS max FROM tabella
PUGIA.COM
Regole del Forum