Salve, come faccio per dire:


seleziona l'ultimo campo id insertito che abbia impostato il campo "status" su "si".


Grazie.