array_unique()

Counts the unique elements of a list.

Reference: DuckDB 2.0.0

Alias of list_unique()

Arguments & returns

array_unique(list)

Scalar
Overload link list Returns
#01 ANY[] UBIGINT

Example

array_unique example
SQL
Haybarn WASM 2.0.0-rc12 · In your browser

Engine example · Run to view results.