PostgreSQL - Aggregate Functions and GROUP BY
Identify the error in this query using
CUBE:SELECT region, product, SUM(amount) FROM sales GROUP BY CUBE region, product;
