I am trying to calculate a column average by group for several groups in the same query.
Assume there are 2 columns (a,b), for each I want the average of another colu