ClickHouse/tests/queries/0_stateless/00583_limit_by_expressions.sql
Ivan 97f2a2213e
Move all folders inside /dbms one level up (#9974)
* Move some code outside dbms/src folder
* Fix paths
2020-04-02 02:51:21 +03:00

8 lines
345 B
SQL

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