Ci sono tanti modi per arrivare allo stesso risultato.
Prova questo (non testato)
Codice PHP:select * from tabella T1
inner join
(select ip_utente, count(distinct nome_utente) as tot
from tabella group by ip_utente
having tot > 1) T2
on T1.ip_utente = T2.ip_utente


Rispondi quotando