ClickHouse/dbms/tests/queries/0_stateless/00049_any_left_join.sql
2016-06-07 11:23:15 +03:00

2 lines
164 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) USING number LIMIT 10