ClickHouse/tests/queries/0_stateless/00583_limit_by_expressions.sql

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

8 lines
345 B
MySQL
Raw Normal View History

SELECT 1 FROM system.one LIMIT 1 BY 1;
SELECT 1 FROM system.one LIMIT 1 BY 1 AS one;
SELECT 1 as one FROM system.one LIMIT 1 BY 1;
SELECT 1 as one FROM system.one LIMIT 1 BY one;
SELECT 1 as one FROM system.one LIMIT 1 BY rand();
SELECT number FROM numbers(10) LIMIT 2 BY number % 2;
SELECT number FROM numbers(10) LIMIT 2 BY intDiv(number, 5);