Skip to content

Glossary: SQL Basics

AND / OR / NOT

Also written: AND, OR, NOT

Keywords that combine or reverse conditions in WHERE: AND needs both to be true, OR needs at least one, NOT flips true and false. AND is worked out before OR, so use parentheses when mixing them.

Where the book teaches it

Related terms

ConditionWHERE