salve a tutti!

secondo voi questa SELECT mi riesce ad estrapolare il il record

maggiore nel campo id?

codice:
sstr_sql="SELECT MAX(id) AS max_id FROM basedati"
thanx!