mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-30 03:22:14 +00:00
8 lines
387 B
MySQL
8 lines
387 B
MySQL
|
SELECT arrayZip([0, 1], ['hello', 'world']);
|
||
|
SELECT arrayZip(materialize([0, 1]), ['hello', 'world']);
|
||
|
SELECT arrayZip([0, 1], materialize(['hello', 'world']));
|
||
|
SELECT arrayZip(materialize([0, 1]), materialize(['hello', 'world']));
|
||
|
|
||
|
SELECT arrayZip([0, number], [toString(number), 'world']) FROM numbers(10);
|
||
|
SELECT arrayZip([1, number, number * number], [[], [], []]) FROM numbers(10);
|