PostgreSQL - Aggregate Functions and GROUP BY
Consider the table
sales with columns region, product, and amount. What will the following query return?SELECT region, product, SUM(amount) FROM sales GROUP BY ROLLUP(region, product);
