Jump to content

[SOLVED] Select unique records by date


powelly

Recommended Posts

I have the following data recording visitors to a site.

 

DATE IPADDRESS

01/01/2007,192.168.1.1

01/01/2007,192.168.1.2

10/01/2007,192.168.1.1

10/01/2007,192.168.1.2

10/01/2007,192.168.1.3

11/01/2007,192.168.1.1

 

I want to select the number of unique ipaddresses per date and return something like this

 

Date,UniqueIPs

01/01/2007,2

10/01/2007,3

11/01/2007,1

 

Could someone be kind enough to point me in the right direction?

Link to comment
https://forums.phpfreaks.com/topic/65820-solved-select-unique-records-by-date/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.