Code:
I have a table that looks like this:
ProjectID Phase DollarAmount DateCreated
--------- -------------- ------------ -----------
1 Submitted 100.00 1/1/2002
2 Submitted 111.00 1/3/2002
3 In Development 225.00 1/2/2002
4 In Testing 125.00 5/5/2002
The query needs to do the following:
- Group the dates into quarters of the year.
- Display all phases for each quarter even if there are no projects created during that quarter. (This is the one I'm having problems with)
The query results should look something like this:
Quarter Phase SumDollarAmount
-------------- -------------- ---------------
First Quarter Submitted 211.00
First Quarter In Development 225.00
First Quarter In Testing 0.00
Second Quarter Submitted 0.00
Second Quarter In Development 0.00
Second Quarter In Testing 125.00