list_select()

Returns a list based on the elements selected by the index_list.

Reference: DuckDB 2.0.0

Arguments & returns

list_select(value_list, index_list)

Scalar
Overload link value_listindex_list Returns
#01 T[]BIGINT[] T[]

Example

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

Engine example · Run to view results.