ClickHouse/dbms/tests/queries/0_stateless/00049_any_left_join.sql

2 lines
164 B
MySQL
Raw Normal View History

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