PostgreSQL - Aggregate Functions and GROUP BY
Find the issue in this query:
SELECT ARRAY_AGG(DISTINCT product) FROM orders GROUP BY customer_id;
SELECT ARRAY_AGG(DISTINCT product) FROM orders GROUP BY customer_id;
15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions