- Nov 8, 2012
- 20,842
- 4,785
- 146
Bleh, wasn't sure where to ask so why not OT?
Anyhow, I hate integrated queries - they are basically my cryptonite.
Transaction Type, State, Amount
A, SC,43.00
B, SC,44.00
C, SC,45.00
B, SC,46.00
C, SC,45.00
Anyhow, I hate integrated queries - they are basically my cryptonite.
Looking for some help on how to Group By in conjunction with combining the grouped by items. Any chance someone would be able to help here?
Example below: Multiple transactions in the same state with transaction amounts. I want to group transactions A+B together, but keep C transactions separate.
Example below: Multiple transactions in the same state with transaction amounts. I want to group transactions A+B together, but keep C transactions separate.
Data:
Transaction Type, State, Amount
A, SC,43.00
B, SC,44.00
C, SC,45.00
B, SC,46.00
What I want the output to look like is:
A+B, SC,133.00C, SC,45.00
Last edited by a moderator:
