Test SELECT ... WHERE a NOT BETWEEN b AND c

This commit is contained in:
NeZeD [Mac Pro] 2019-02-02 15:20:18 +03:00
parent 764cf232a0
commit f53826779a
No known key found for this signature in database
GPG Key ID: 15AF581A8B5439D7
2 changed files with 8 additions and 0 deletions

View File

@ -1 +1,8 @@
1
0
1
5
6
7
8
9

View File

@ -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;