dbms: added test for ANY LEFT JOIN [#METR-11370].

This commit is contained in:
Alexey Milovidov 2014-06-13 06:14:22 +04:00
parent bfff8ab715
commit 3f650bfbab
2 changed files with 11 additions and 0 deletions

View 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

View 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