4 ms·
Not sure I understand properly, but maybe this: > select groupbycol, array_agg(id) from table group by groupbycol having avg(minavgcol) > T
by eximius 8y ago
Not sure I understand properly, but maybe this:
> select groupbycol, array_agg(id) from table group by groupbycol having avg(minavgcol) > T