PostgreSQL - Aggregate Functions and GROUP BY
You want to analyze sales data by
region and product and also see subtotals for each region and product separately, plus a grand total. Which query should you use?