PostgreSQL - Aggregate Functions and GROUP BY
Given the table
sales with columns region, product, and amount, what will be the output rows count of this query?SELECT region, product, SUM(amount) FROM sales GROUP BY ROLLUP(region, product);
