mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-05 05:52:05 +00:00
33 lines
1.7 KiB
SQL
33 lines
1.7 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 toDate('2020-01-01') IN (toDateTime('2020-01-01', 'UTC'));
|
|
|
|
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'));
|