lo puoi anche risolvere con select distinct


bye bye