Getting started
User guides
Administration guides
Reference guides
Resources
Updated Aug 11, 2022
Send us feedback
array_distinct
Removes duplicate values from array.
array
array_distinct(array)
array: An ARRAY expression.
The function returns an array of the same type as the input argument where all duplicate values have been removed.
> SELECT array_distinct(array(1, 2, 3, NULL, 3)); [1,2,3,NULL]
array_except function
array_intersect function
array_sort function
array_remove function
array_union function