mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-01 03:52:15 +00:00
5 lines
205 B
SQL
5 lines
205 B
SQL
SELECT * FROM (SELECT 1 AS id, '' AS test) AS a
|
|
LEFT JOIN (SELECT test, 1 AS id, NULL AS test) AS b ON b.id = a.id
|
|
SETTINGS join_algorithm = 'auto', max_rows_in_join = 1, allow_experimental_analyzer = 1
|
|
;
|