I have a table with the Following format
[Reason],[Date]
NS, 12/05/2003
OA, 12/07/2003
NS, 1/02/2004
AS, 11/05/2003
SS, 12/02/2003
OA, 12/04/2003
NS, 2/05/2004
I am trying to build a count query that returns a total for the reason codes in a certain year (2003). I would like the final product to look like:
[Reason],[Total]
AS, 1
NS, 1
OA, 2
SS, 1
[Reason],[Date]
NS, 12/05/2003
OA, 12/07/2003
NS, 1/02/2004
AS, 11/05/2003
SS, 12/02/2003
OA, 12/04/2003
NS, 2/05/2004
I am trying to build a count query that returns a total for the reason codes in a certain year (2003). I would like the final product to look like:
[Reason],[Total]
AS, 1
NS, 1
OA, 2
SS, 1