mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-24 16:42:05 +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);
|