mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-30 03:22:14 +00:00
15 lines
601 B
SQL
15 lines
601 B
SQL
SELECT count() FROM generate_series(5, 4);
|
|
SELECT count() FROM generate_series(0, 0);
|
|
SELECT count() FROM generate_series(10, 20, 3);
|
|
SELECT count() FROM generate_series(7, 77, 10);
|
|
SELECT count() FROM generate_series(0, 1000, 2);
|
|
SELECT count() FROM generate_series(0, 999, 20);
|
|
SELECT sum(generate_series) FROM generate_series(4, 1008, 4) WHERE generate_series % 7 = 1;
|
|
|
|
SELECT * FROM generate_series(5, 4);
|
|
SELECT * FROM generate_series(0, 0);
|
|
SELECT * FROM generate_series(10, 20, 3);
|
|
SELECT * FROM generate_series(7, 77, 10);
|
|
SELECT * FROM generate_series(7, 52, 5) WHERE generate_series >= 13;
|
|
|