mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-11 17:02:25 +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);
|