mary | 8
(58 rows)
---
--- Test between syntax
---
-SELECT 2 BETWEEN 1 AND 3;
- ?column?
-----------
- t
-(1 row)
-
-SELECT 2 BETWEEN 3 AND 1;
- ?column?
-----------
- f
-(1 row)
-
-SELECT 2 BETWEEN ASYMMETRIC 1 AND 3;
- ?column?
-----------
- t
-(1 row)
-
-SELECT 2 BETWEEN ASYMMETRIC 3 AND 1;
- ?column?
-----------
- f
-(1 row)
-
-SELECT 2 BETWEEN SYMMETRIC 1 AND 3;
- ?column?
-----------
- t
-(1 row)
-
-SELECT 2 BETWEEN SYMMETRIC 3 AND 1;
- ?column?
-----------
- t
-(1 row)
-
-SELECT 2 NOT BETWEEN 1 AND 3;
- ?column?
-----------
- f
-(1 row)
-
-SELECT 2 NOT BETWEEN 3 AND 1;
- ?column?
-----------
- t
-(1 row)
-
-SELECT 2 NOT BETWEEN ASYMMETRIC 1 AND 3;
- ?column?
-----------
- f
-(1 row)
-
-SELECT 2 NOT BETWEEN ASYMMETRIC 3 AND 1;
- ?column?
-----------
- t
-(1 row)
-
-SELECT 2 NOT BETWEEN SYMMETRIC 1 AND 3;
- ?column?
-----------
- f
-(1 row)
-
-SELECT 2 NOT BETWEEN SYMMETRIC 3 AND 1;
- ?column?
-----------
- f
-(1 row)
-
-SELECT -4 BETWEEN -1 AND -3;
- ?column?
-----------
- f
-(1 row)
-
-SELECT -4 BETWEEN -3 AND -1;
- ?column?
-----------
- f
-(1 row)
-
-SELECT -4 BETWEEN ASYMMETRIC -1 AND -3;
- ?column?
-----------
- f
-(1 row)
-
-SELECT -4 BETWEEN ASYMMETRIC -3 AND -1;
- ?column?
-----------
- f
-(1 row)
-
-SELECT -4 BETWEEN SYMMETRIC -1 AND -3;
- ?column?
-----------
- f
-(1 row)
-
-SELECT -4 BETWEEN SYMMETRIC -3 AND -1;
- ?column?
-----------
- f
-(1 row)
-
-SELECT -4 NOT BETWEEN -1 AND -3;
- ?column?
-----------
- t
-(1 row)
-
-SELECT -4 NOT BETWEEN -3 AND -1;
- ?column?
-----------
- t
-(1 row)
-
-SELECT -4 NOT BETWEEN ASYMMETRIC -1 AND -3;
- ?column?
-----------
- t
-(1 row)
-
-SELECT -4 NOT BETWEEN ASYMMETRIC -3 AND -1;
- ?column?
-----------
- t
-(1 row)
-
-SELECT -4 NOT BETWEEN SYMMETRIC -1 AND -3;
- ?column?
-----------
- t
-(1 row)
-
-SELECT -4 NOT BETWEEN SYMMETRIC -3 AND -1;
- ?column?
-----------
- t
- (1 row)
-