PostgreSQL - Aggregate Functions and GROUP BY
Identify the error in this query:
SELECT region, product, SUM(amount) FROM sales GROUP BY ROLLUP region, product;
SELECT region, product, SUM(amount) FROM sales GROUP BY ROLLUP region, product;
15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions