I know how to get a sum in a query, but I need several different sums with different where clauses all in one query. Is that possible?
I.e. want, region, code, name, sum1 (from tableA where 1,2,3), sum2 (from tableB where 2,4,5)
I can only get 1 aggregate function to work per query.
select...