Three-valued logic

The following tables display how the AND, OR, NOT, and IS logical operators of SQL work in three-valued logic. See NULL value.

 AND operator
 OR operator
 NOT operator
 IS operator
 Standards and compatibility