Skip Headers
Previous
Previous
 
Next
Next

Multiple Conditions

Conjunctions compare a single expression with two conditions.

Conjunctions

Operator Description

AND

Returns true if both component conditions are true. Returns false if either is false.

OR

Returns true if either component condition is true. Returns false if both are false.


Syntax

expr operator condition1 { AND | OR } condition2 

Example

5 < 7 AND 5 > 3 is true; 5 < 3 OR 10 < 15 is true.