mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 07:01:59 +00:00
97f2a2213e
* Move some code outside dbms/src folder * Fix paths
15 lines
764 B
SQL
15 lines
764 B
SQL
SET send_logs_level = 'none';
|
|
|
|
SELECT * FROM system.numbers LIMIT 3;
|
|
SELECT sys_num.number FROM system.numbers AS sys_num WHERE number > 2 LIMIT 2;
|
|
SELECT number FROM system.numbers WHERE number >= 5 LIMIT 2;
|
|
SELECT * FROM system.numbers WHERE number == 7 LIMIT 1;
|
|
SELECT number AS n FROM system.numbers WHERE number IN(8, 9) LIMIT 2;
|
|
select number from system.numbers limit 0;
|
|
select x from system.numbers limit 1; -- { clientError 0 serverError 47 }
|
|
SELECT x, number FROM system.numbers LIMIT 1; -- { serverError 47 }
|
|
SELECT * FROM system.number LIMIT 1; -- { serverError 60 }
|
|
SELECT * FROM system LIMIT 1; -- { serverError 60 }
|
|
SELECT * FROM numbers LIMIT 1; -- { serverError 60 }
|
|
SELECT sys.number FROM system.numbers AS sys_num LIMIT 1; -- { serverError 47 }
|