select * from tabella where id_anagrafica = 2 order by id_img ASC LIMIT 1;
non l'ho testata... ma dovrebbe andare