diff --git a/dbms/tests/queries/0_stateless/00049_any_left_join.reference b/dbms/tests/queries/0_stateless/00049_any_left_join.reference new file mode 100644 index 00000000000..606d31057dd --- /dev/null +++ b/dbms/tests/queries/0_stateless/00049_any_left_join.reference @@ -0,0 +1,10 @@ +0 1 +1 0 +2 21 +3 0 +4 41 +5 0 +6 61 +7 0 +8 81 +9 0 diff --git a/dbms/tests/queries/0_stateless/00049_any_left_join.sql b/dbms/tests/queries/0_stateless/00049_any_left_join.sql new file mode 100644 index 00000000000..28f8c43fe2f --- /dev/null +++ b/dbms/tests/queries/0_stateless/00049_any_left_join.sql @@ -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