ClickHouse/tests/queries/0_stateless/00049_any_left_join.sql
2022-07-12 20:22:35 +02:00

2 lines
168 B
SQL

SELECT number, joined FROM system.numbers ANY LEFT JOIN (SELECT number * 2 AS number, number * 10 + 1 AS joined FROM system.numbers LIMIT 10) js2 USING number LIMIT 10