Hi everybody , I have this query in SQL using Access 2007:
The problem is i get identical values for the three fields CountOfWon, CountOfLost, CountOfCancelle d/Postponed.
Please what to do?
Code:
SELECT Count(Opportunities.Won) AS CountOfWon, Count(Opportunities.Lost) AS CountOfLost, Count(Opportunities.[Cancelled/Postponed]) AS [CountOfCancelled/Postponed], Opportunities.System
FROM Opportunities
WHERE ((("Opportunities.Won")=True)) OR ((("Opportunities.Lost")=True)) OR ((("Opportunities.[Cancelled/Postponed]")=True))
GROUP BY Opportunities.System;
Please what to do?
Comment