ClickHouse/tests/queries/0_stateless/02503_join_switch_alias_fuzz.sql
2024-08-05 15:29:14 +00:00

5 lines
193 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, enable_analyzer = 1
;