mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-25 17:12:03 +00:00
38 lines
760 B
Plaintext
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
|