Apparentemente non conosci bene l'sql.
Codice PHP:
SELECT distinct ip_utente, nome_utente FROM `tabella` AS T1
inner join (select ip_utente, count(distinct nome_utente) as tot
from `tabella` group by ip_utente having tot > 1) AS T2
on T1.ip_utente = T2.ip_utente