I have a file that looks like this:
Account Month Amount
1001 1 100.00
1001 3 200.00
1001 4 300.00
1002 1 400.00
1002 2 500.00
1002 3 600.00
I want a query that produces this (for March):
Account Current YTD
1001 200.00 300.00
1002 600.00 1500.00
Can this be done in one query? I can get either the current or the YTD, but haven't been able to get both in one query.
Account Month Amount
1001 1 100.00
1001 3 200.00
1001 4 300.00
1002 1 400.00
1002 2 500.00
1002 3 600.00
I want a query that produces this (for March):
Account Current YTD
1001 200.00 300.00
1002 600.00 1500.00
Can this be done in one query? I can get either the current or the YTD, but haven't been able to get both in one query.