mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-30 11:32:03 +00:00
29 lines
1.1 KiB
SQL
29 lines
1.1 KiB
SQL
SELECT '------numbers_0-argument-----';
|
|
SELECT number FROM numbers() LIMIT 10;
|
|
SELECT '------system.numbers---------';
|
|
SELECT number FROM system.numbers LIMIT 10;
|
|
SELECT '------numbers_1-argument-----';
|
|
SELECT number FROM numbers(10);
|
|
SELECT '------numbers_2-arguments----';
|
|
SELECT number FROM numbers(10,10);
|
|
SELECT '------numbers_3-arguments----';
|
|
SELECT number FROM numbers(10,10,2);
|
|
SELECT '------numbers_mt_0-argument-----';
|
|
SELECT number FROM numbers_mt() LIMIT 10;
|
|
SELECT '------numbers_mt_1-argument-----';
|
|
SELECT number FROM numbers_mt(10);
|
|
SELECT '------numbers_mt_2-arguments----';
|
|
SELECT number FROM numbers_mt(10,10);
|
|
SELECT '------numbers_mt_3-arguments----';
|
|
SELECT number FROM numbers_mt(10,10,2);
|
|
SELECT '------zeros_0-argument-------';
|
|
SELECT zero FROM zeros() LIMIT 10;
|
|
SELECT '------system.zeros-----------';
|
|
SELECT zero FROM system.zeros LIMIT 10;
|
|
SELECT '------zeros_1-argument-------';
|
|
SELECT zero FROM zeros(10);
|
|
SELECT '------zeros_mt_0-argument-------';
|
|
SELECT zero FROM zeros_mt() LIMIT 10;
|
|
SELECT '------zeros_mt_1-argument-------';
|
|
SELECT zero FROM zeros_mt(10);
|