I need to create a query that will count the number of people from different areas that are working on a task in a given month. For example, I have a table containing:
Candidate StartDate EndDate Agency
1122 Oct-01 Dec-01 Agency_A
2233 Nov-01 Jan-02 Agency_B
3344 Nov-01 Feb-02 Agency_A
4455 Dec-01 Feb-02 Agency_B
I want the result of my query to give:
Month Agency NumberCandidates
Oct-01 Agency_A 1
Nov-01 Agency_A 2
Nov-01 Agency_B 1
Dec-01 Agency_A 2
Dec-01 Agency_B 2... and so on
Is there anyway I can can write a query to go through the data checking month by month?
Thanks in advance.
Candidate StartDate EndDate Agency
1122 Oct-01 Dec-01 Agency_A
2233 Nov-01 Jan-02 Agency_B
3344 Nov-01 Feb-02 Agency_A
4455 Dec-01 Feb-02 Agency_B
I want the result of my query to give:
Month Agency NumberCandidates
Oct-01 Agency_A 1
Nov-01 Agency_A 2
Nov-01 Agency_B 1
Dec-01 Agency_A 2
Dec-01 Agency_B 2... and so on
Is there anyway I can can write a query to go through the data checking month by month?
Thanks in advance.