PostgreSQL - Aggregate Functions and GROUP BY
In PostgreSQL, what is the primary function of
ARRAY_AGG?ARRAY_AGG?ARRAY_AGG is an aggregate function that collects values from multiple rows into a single array.
It does not perform calculations like average or string concatenation; those are done by AVG or STRING_AGG respectively.
15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions