select distinct u.nick from utente u inner join foto f on u.nick = f.utente where f.stato = 1
Regole del Forum