ClickHouse/tests/queries/0_stateless/01614_with_fill_with_limit.sql

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

16 lines
303 B
MySQL
Raw Normal View History

SELECT
toFloat32(number % 10) AS n,
'original' AS source
FROM numbers(10)
WHERE (number % 3) = 1
ORDER BY n ASC WITH FILL STEP 1
LIMIT 2;
SELECT
toFloat32(number % 10) AS n,
'original' AS source
FROM numbers(10)
WHERE (number % 3) = 1
ORDER BY n ASC WITH FILL STEP 1
LIMIT 2 WITH TIES;