Hi,
I am looking for some help to create a mysql query to get the distinct (per day) count of ip addresses a link has been clicked for a date range.
Lets say my IP address clicks on the same link 5 times every day during January 2012 using the same ip address. There would be 155 (5*31) records...
Below is the final solution:
SELECT
CPINFO.REFVAL,
CPINFO.ADDRESS,
CPINFO.EHAREATM,
CPINFO.TRADEAS,
XIREC.REFVAL as REFVAL2,
XIVISIT.XIVTYPE,
XIVISIT.DATEVISIT,
XIVISIT.VOFF,
XIACTION.XIACT,
CNOFFICER.NAME
FROM
(((CPINFO
INNER JOIN XIREC ON
CPINFO.KEYVAL = XIREC.MDKEYVAL)
INNER...
Thanks for both your input on this. I've tried the minus command. However, it brings back records that have a letter type (XIACTION.XIACT='LETT1'). I managed to resolve the problem by using the NOT IN command.
Thanks
Chris
Hi,
I've developed a report in Crystal Reports XI which will list the records in Command 1 which are not in Command 2. The problem that I'm facing is the report takes forever to load. However, if I do the same query in Microsoft Access it loads within 10 seconds.
Command 1
SELECT...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.