mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-05 05:52:05 +00:00
97f2a2213e
* Move some code outside dbms/src folder * Fix paths
18 lines
275 B
SQL
18 lines
275 B
SQL
SELECT
|
|
key1,
|
|
key2,
|
|
table_1
|
|
FROM
|
|
(
|
|
SELECT
|
|
arrayJoin([1, 2, 3]) AS key1,
|
|
0 AS key2,
|
|
999 AS table_1
|
|
) js1 ALL INNER JOIN
|
|
(
|
|
SELECT
|
|
arrayJoin([1, 3, 2]) AS key1,
|
|
0 AS key2,
|
|
999 AS table_1
|
|
) js2 USING key2, key1;
|