mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 15:12:02 +00:00
5 lines
253 B
MySQL
5 lines
253 B
MySQL
|
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);
|