list_unique()

Counts the unique elements of a list.

Reference: DuckDB 2.0.0

Arguments & returns

list_unique(list)

Scalar
Overload link list Returns
#01 ANY[] UBIGINT

Example

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

Engine example · Run to view results.