Si, polinet, anche se nel codice c'è "order by" la prova l'ho fatta anche con "group by".

Ora provo il nuovo codice