ClickHouse/dbms/tests/queries/0_stateless/00013_a_select_from_table_with_arrays.sql

2 lines
132 B
MySQL
Raw Normal View History

2014-03-23 20:40:55 +00:00
SELECT s, arr, a, num, mapped FROM arrays_test ARRAY JOIN arr AS a, arrayEnumerate(arr) AS num, arrayMap(x -> x + 1, arr) AS mapped