ho usato DISTINCT ma pare che non funzioni