Guest_imported
New member
- Jan 1, 1970
- 0
SELECT Count(Tracking.IP) AS CountOfIP, DatePart("m",[date]) & "-" & DatePart("d",[date]) & "-" & DatePart("yyyy",[date]) AS Expr1
FROM Tracking
GROUP BY DatePart("m",[date]) & "-" & DatePart("d",[date]) & "-" & DatePart("yyyy",[date]);
The above SQL statement works fine for what I am trying to except I only want to count unique IP addresses for each day.
Unique or Distinct won't work because each record is already unique. Any ideas?
FROM Tracking
GROUP BY DatePart("m",[date]) & "-" & DatePart("d",[date]) & "-" & DatePart("yyyy",[date]);
The above SQL statement works fine for what I am trying to except I only want to count unique IP addresses for each day.
Unique or Distinct won't work because each record is already unique. Any ideas?