COLLECT_SET
A set of all values related to a field.
Syntax
COLLECT_SET([MAX VALUES,] VALUE)
Arguments
MAX VALUES:
The maximum number of entries that can be counted (default: 2,147,483,647).
MAX VALUES
is optional. If it is omitted there is, in effect, no limit.
VALUE:
The field that can be counted.
Returns
An ARRAY of the argument type.
Notes
The order of elements in the array is non-deterministic. NULL values are excluded.
Example
Data
Query
List the distinct entries for each unique group.
Results
Related Functions
Dialog
Last updated