mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-24 08:32:02 +00:00
dbms: added test for ANY LEFT JOIN [#METR-11370].
This commit is contained in:
parent
bfff8ab715
commit
3f650bfbab
10
dbms/tests/queries/0_stateless/00049_any_left_join.reference
Normal file
10
dbms/tests/queries/0_stateless/00049_any_left_join.reference
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
0 1
|
||||||
|
1 0
|
||||||
|
2 21
|
||||||
|
3 0
|
||||||
|
4 41
|
||||||
|
5 0
|
||||||
|
6 61
|
||||||
|
7 0
|
||||||
|
8 81
|
||||||
|
9 0
|
1
dbms/tests/queries/0_stateless/00049_any_left_join.sql
Normal file
1
dbms/tests/queries/0_stateless/00049_any_left_join.sql
Normal file
@ -0,0 +1 @@
|
|||||||
|
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
|
Loading…
Reference in New Issue
Block a user