simili o identici?

per gli identici puoi fare o un group by o un distinct