PostgreSQL - Aggregate Functions and GROUP BY
You want to create a report showing total sales grouped by
product, by region, and by both product and region together. Which GROUPING SETS clause achieves this in one query?