mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-24 18:50:49 +00:00
5 lines
253 B
SQL
5 lines
253 B
SQL
SELECT arrayWithConstant(3, number) FROM numbers(10);
|
|
SELECT arrayWithConstant(number, 'Hello') FROM numbers(10);
|
|
SELECT arrayWithConstant(number % 3, number % 2 ? 'Hello' : NULL) FROM numbers(10);
|
|
SELECT arrayWithConstant(number, []) FROM numbers(10);
|