Hi everyone,
I have a table which has the following 3 fields:-
Customer_ID
Shop_ID
Month
I need a count by month for each shop for the number of unique customers.
There is a complication in that the customer ID field is not unique from shop to shop. E.g. there could be a customer ID number 255 in shop 1, a different customer in shop 2 could also have the ID number of 255.
A combination of customerID and shop ID will be unique.
The data set is also very large-20 million rows!
Can anyone help???
Many thanks,
Sasha
I have a table which has the following 3 fields:-
Customer_ID
Shop_ID
Month
I need a count by month for each shop for the number of unique customers.
There is a complication in that the customer ID field is not unique from shop to shop. E.g. there could be a customer ID number 255 in shop 1, a different customer in shop 2 could also have the ID number of 255.
A combination of customerID and shop ID will be unique.
The data set is also very large-20 million rows!
Can anyone help???
Many thanks,
Sasha