Apparentemente non conosci bene l'sql.

Codice PHP:
SELECT distinct ip_utentenome_utente FROM `tabella` AS T1
inner join 
(select ip_utentecount(distinct nome_utente) as tot  
from 
`tabellagroup by ip_utente having tot 1) AS T2
on T1
.ip_utente T2.ip_utente