Hi everyone,
I have a call tracking database. I'm looking to write a query that would give me the total calls on a specific day. What I have right now is a query that calculates total calls between dates per month. What I want to enhance to this query is to be able to specify a specific day (Mondays, Tuesdays... etc...) or to be able to select ALL Days.
This is what I have :
I have a call tracking database. I'm looking to write a query that would give me the total calls on a specific day. What I have right now is a query that calculates total calls between dates per month. What I want to enhance to this query is to be able to specify a specific day (Mondays, Tuesdays... etc...) or to be able to select ALL Days.
This is what I have :
Code:
SELECT Format([opened date],'mmm yyyy') AS [Month Year], Count(*) AS TotalsCalls
FROM calls
WHERE (((calls.[opened date]) Between [StartDate] And [EndDate]))
GROUP BY Format([opened date],'mmm yyyy')
ORDER BY Format([opened date],'mmm yyyy');