Use Comparisons and Logic
Combine multiple filters using logical operators.
You know how to filter rows with WHERE. Now let’s go deeper and combine conditions using AND, OR, and NOT.
Goal
You’ll aim to:
Use multiple conditions in a
WHEREclause.Combine logic using
AND,OR, andNOT.
Tables
Let’s use the following table in this lesson: