G
Guest
Bellow is my query. It gives me the result it is supposed to give me which is
each customer has 7 records because I have 7 months in the system. But when I
count months for each customer, it gives me 49 instead of 7. Why could this
happen?
SELECT [Silver Payment - Loblaws].BannerName, [Silver Payment -
Loblaws].[Customer Name], Count([Silver Payment - Loblaws].Month) AS
CountOfMonth
FROM [Silver Payment - Loblaws]
GROUP BY [Silver Payment - Loblaws].BannerName, [Silver Payment -
Loblaws].[Customer Name];
each customer has 7 records because I have 7 months in the system. But when I
count months for each customer, it gives me 49 instead of 7. Why could this
happen?
SELECT [Silver Payment - Loblaws].BannerName, [Silver Payment -
Loblaws].[Customer Name], Count([Silver Payment - Loblaws].Month) AS
CountOfMonth
FROM [Silver Payment - Loblaws]
GROUP BY [Silver Payment - Loblaws].BannerName, [Silver Payment -
Loblaws].[Customer Name];