select max(id) from tabella where status="si"