ClickHouse/tests/queries/0_stateless/00049_any_left_join.sql
Nikita Taranov ba837900ca fix test
2024-11-25 18:15:29 +01:00

4 lines
200 B
SQL

SELECT * FROM (
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
) ORDER BY ALL;