Hi all,
I have the table as follows:
table name hits:
Fields: hitsID, ipAdd, date
This table collects ipaddress and date of visit from the visitor online to my site.
now the problem is i want to display all the ip address date wise counting the same ip address and grouping it
my required result set example:
Date : 01/01/2008
IP Address: 206.13.20.12 (22 times)
IP Address: 203.16.20.166 (10 times)
IP Address: 149.212.25.11 (5 times
Date : 01/02/2008
IP Address: 206.13.20.12 (2 times)
IP Address: 203.16.20.166 (1 times)
IP Address: 149.212.25.11 (15 times
Date : 01/03/2008
IP Address: 206.13.20.12 (22 times)
IP Address: 203.16.20.166 (11 times)
IP Address: 149.212.25.11 (152 times
Please help me how can i get result set. I tried using
SELECT ipAdd, date FROM hits GROUP BY date
but did not work
Thanks
KT
http://www.wholesaleclothingbiz.com