ClickHouse/dbms/tests/queries/0_stateless/01071_in_array.sql
2020-01-24 03:48:40 +03:00

9 lines
280 B
SQL

select [1, 2] in [1, 2];
select (1, 2) in (1, 2);
select (1, 2) in [(1, 3), (1, 2)];
select [1] in [[1], [2, 3]];
select NULL in NULL;
select ([1], [2]) in ([NULL], [NULL]);
select ([1], [2]) in (([NULL], [NULL]), ([1], [2]));
select ([1], [2]) in [([NULL], [NULL]), ([1], [2])];