ClickHouse/dbms/tests/queries/0_stateless/00049_any_left_join.sql
2014-06-13 06:14:22 +04: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