mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-23 16:12:01 +00:00
97f2a2213e
* Move some code outside dbms/src folder * Fix paths
32 lines
1.6 KiB
SQL
32 lines
1.6 KiB
SQL
SELECT 1 IN (SELECT 1);
|
|
SELECT materialize(1) IN (SELECT 1);
|
|
SELECT 1 IN (SELECT materialize(1));
|
|
SELECT materialize(1) IN (SELECT materialize(1));
|
|
SELECT (1, 2) IN (SELECT 1, 2);
|
|
SELECT (1, materialize(2)) IN (SELECT 1, 2);
|
|
SELECT (1, materialize(2)) IN (SELECT materialize(1), 2);
|
|
SELECT (1, materialize(2), 'Hello') IN (SELECT materialize(1), 2, 'Hello');
|
|
SELECT (1, materialize(2), materialize('Hello')) IN (SELECT materialize(1), 2, 'Hello');
|
|
SELECT (1, materialize(2), materialize('Hello')) IN (SELECT materialize(1), 2, materialize('Hello'));
|
|
SELECT (1, materialize(2), 'Hello') IN (SELECT materialize(1), 2, materialize('Hello'));
|
|
SELECT 'Hello' IN (SELECT 'Hello');
|
|
SELECT materialize('Hello') IN (SELECT 'Hello');
|
|
SELECT 'Hello' IN (SELECT materialize('Hello'));
|
|
SELECT materialize('Hello') IN (SELECT materialize('Hello'));
|
|
|
|
SELECT 2 IN (SELECT 1);
|
|
SELECT materialize(2) IN (SELECT 1);
|
|
SELECT 2 IN (SELECT materialize(1));
|
|
SELECT materialize(2) IN (SELECT materialize(1));
|
|
SELECT (1, 3) IN (SELECT 1, 2);
|
|
SELECT (1, materialize(3)) IN (SELECT 1, 2);
|
|
SELECT (1, materialize(3)) IN (SELECT materialize(1), 2);
|
|
SELECT (1, materialize(2), 'World') IN (SELECT materialize(1), 2, 'Hello');
|
|
SELECT (1, materialize(2), materialize('World')) IN (SELECT materialize(1), 2, 'Hello');
|
|
SELECT (1, materialize(2), materialize('World')) IN (SELECT materialize(1), 2, materialize('Hello'));
|
|
SELECT (1, materialize(2), 'World') IN (SELECT materialize(1), 2, materialize('Hello'));
|
|
SELECT 'World' IN (SELECT 'Hello');
|
|
SELECT materialize('World') IN (SELECT 'Hello');
|
|
SELECT 'World' IN (SELECT materialize('Hello'));
|
|
SELECT materialize('World') IN (SELECT materialize('Hello'));
|