PostgreSQL - Aggregate Functions and GROUP BY
You want to find the total sales quantity for each product in each region from the
sales table with columns product_id, region, and quantity. Which query correctly groups and sums the data?