ClickHouse/dbms/tests/queries/0_stateless/00612_pk_in_tuple.reference
2018-04-05 00:03:21 +03:00

38 lines
760 B
Plaintext

all
1 [1]
2 [2]
key, arrayJoin(arr) in (1, 1)
1 1
key, arrayJoin(arr) in ((1, 1), (2, 2))
1 1
2 2
(key, left array join arr) in (1, 1)
1
(key, left array join arr) in ((1, 1), (2, 2))
1
2
all
1 [1]
2 [2]
key, arrayJoin(n.x) in (1, 1)
1 1
key, arrayJoin(n.x) in ((1, 1), (2, 2))
1 1
2 2
(key, left array join n.x) in (1, 1)
1
(key, left array join n.x) in ((1, 1), (2, 2))
1
2
max(key) from tab where (key, left array join n.x) in (1, 1)
1
1
max(key) from tab where (key, left array join n.x) in ((1, 1), (2, 2))
2
2
max(key) from tab any left join (select key, arrayJoin(n.x) as val from tab) using key where (key, val) in (1, 1)
1
max(key) from tab any left join (select key, arrayJoin(n.x) as val from tab) using key where (key, val) in ((1, 1), (2, 2))
2
1