Boolean operators

EQL supports the Boolean operators AND, OR, and NOT.

The results of Boolean operations (including the presence of NULL) is follows:
Value of a Value of b Result of a AND b Result of a OR b Result of NOT a
TRUE TRUE TRUE TRUE FALSE
TRUE FALSE FALSE TRUE FALSE
TRUE NULL NULL TRUE FALSE
FALSE TRUE FALSE TRUE TRUE
FALSE FALSE FALSE FALSE TRUE
FALSE NULL FALSE NULL TRUE
NULL TRUE NULL TRUE NULL
NULL FALSE FALSE NULL NULL
NULL NULL NULL NULL NULL

For information on order of operations, see Operator precedence rules.