A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://docs.snowflake.com/en/sql-reference/functions/array_unique_agg below:

Website Navigation


ARRAY_UNIQUE_AGG | Snowflake Documentation

ARRAY_UNIQUE_AGG

Returns an ARRAY that contains all of the distinct values from the specified column.

See also:

Using Arrays to Compute Distinct Values for Hierarchical Aggregations

Syntax
ARRAY_UNIQUE_AGG( <column> )

Copy

Arguments
column

The column containing the values.

Returns

The function returns an ARRAY containing the distinct values in the specified column. The values in the ARRAY are in no particular order, and the order is not deterministic.

The function ignores NULL values in column. If column contains only NULL values or the table containing column is empty, the function returns an empty ARRAY.

Usage notes Examples Aggregation

See Using Arrays to Compute Distinct Values for Hierarchical Aggregations.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4