list_has_any()

Returns true if the lists have any element in common. NULLs are ignored.

Reference: DuckDB 1.3.2

Arguments & returns

list_has_any(l1, l2)

Scalar
Overload link l1 l2 Returns
#01 ANY[]ANY[] BOOLEAN

Example

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

Engine example · Run to view results.