I have a query that returns something like:
COMPANY | TOTAL
--------+------
A | 10
B | 15
C | 10
A | 5
A | 10
B | 5
D | 10
Using this, I want to return results like:
COMPANY | TOTAL
--------+------
A | 25
B | 20
C | 10
D | 10
This has to be pretty simple, I just can’t wrap my head around it.
Use this:
You can sort by sum appending
or by company