diff --git a/dbms/tests/queries/0_stateless/00834_not_between.reference b/dbms/tests/queries/0_stateless/00834_not_between.reference index d00491fd7e5..76b56ea92ee 100644 --- a/dbms/tests/queries/0_stateless/00834_not_between.reference +++ b/dbms/tests/queries/0_stateless/00834_not_between.reference @@ -1 +1,8 @@ 1 +0 +1 +5 +6 +7 +8 +9 diff --git a/dbms/tests/queries/0_stateless/00834_not_between.sql b/dbms/tests/queries/0_stateless/00834_not_between.sql index 82e9f16ce2a..ea9b099e80e 100644 --- a/dbms/tests/queries/0_stateless/00834_not_between.sql +++ b/dbms/tests/queries/0_stateless/00834_not_between.sql @@ -1 +1,2 @@ SELECT 2 NOT BETWEEN 2 + 1 AND 4 - 1; +SELECT number FROM ( SELECT number FROM system.numbers LIMIT 10 ) WHERE number NOT BETWEEN 2 AND 4;