Myślałem o czymś takim - ale nie działa:
SELECT Count( `referencje` LIKE '%słowo%' ) FROM `sledz_ip`WHERE DATE(DATA) = '2008-06-25' AND DISTINCT(`adres_ip`)
Niestety nie działa - komunikat o użyciu GRUPY itd
#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'DISTINCT(`adres_ip`)' at line 1

