The content of this page has been automatically translated by AI. If you encounter any problems while reading, you can view the corresponding content in Chinese.

Logical Operators

Last updated: 2024-08-22 16:19:14

Common logical operators are AND, OR, NOT, with three result values TRUE, FALSE, and NULL, where NULL represents an unknown value.
a
b
a AND b
a OR b
NOT a
TRUE
TRUE
TRUE
TRUE
FALSE
TRUE
FALSE
FALSE
TRUE
FALSE
TRUE
NULL
NULL
TRUE
FALSE
FALSE
FALSE
FALSE
FALSE
TRUE
FALSE
NULL
FALSE
NULL
TRUE
NULL
NULL
NULL
NULL
NULL