I have one short question. Is in PostgreSQL something like a CUBE-Operator existing.
According to the manual there is nothing. But perhaps I didn't find it.
If not, what would be the best solution to get the same result.
Probably a lot of GROUP BY in combination with UNION, right?
Thanks for any help and best regards,