list_extract()

Extract the indexth (1-based) value from the list.

Arguments & returns

2 overloads

list_extract(list, index)

Scalar
Overload link listindex Returns
#01 ANY[]BIGINT ANY
#02 VARCHARBIGINT VARCHAR

Example

list_extract example
SQL
Haybarn WASM 1.5.5-rc3 · In your browser

Engine example · Run to view results.