ClickHouse/tests/queries/0_stateless/02523_range_const_start.sql

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

10 lines
243 B
MySQL
Raw Normal View History

2023-01-08 02:03:08 +00:00
SELECT
c1,
range(0, c1) AS zero_as_start_val,
range(1, c1) AS one_as_start_val,
range(c1) AS no_start_val,
range(c1, c1 * 2) AS val_as_start,
range(c1, c1 * c1, c1) AS complex_start_step
FROM values(1, 2, 3, 4, 5)
FORMAT Vertical;