ho aggiunto il DISTINCT dopo la select, ma non sembra che cambi nulla