mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-11 08:52:06 +00:00
4 lines
261 B
MySQL
4 lines
261 B
MySQL
|
SELECT x, arrayJoin(x) FROM (SELECT materialize([1, NULL, 2]) AS x);
|
||
|
SELECT x, arrayJoin(x) FROM (SELECT materialize([(1, 2), (3, 4), (5, 6)]) AS x);
|
||
|
SELECT x, arrayJoin(x) FROM (SELECT materialize(arrayMap(x -> toFixedString(x, 5), ['Hello', 'world'])) AS x);
|