ClickHouse/tests/queries/0_stateless/03032_numbers_zeros.sql

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

29 lines
1.1 KiB
MySQL
Raw Normal View History

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);