And
Used to perform a logical conjunction on two expressions.
Syntax
expression1 And
expression2
Argument | Description |
---|---|
expression1 |
Any expression |
expression2 |
Any expression |
If both expressions evaluate to True, then the result is True. If either expression evaluates to False, then the result is False.
Examples
This example returns True:
(1=1) AND (2=2)
This example returns False:
(1=1) AND
(1=2)
This example returns False:
("A"="a") OR
("B"="b")