The WHERE clause is where most queries succeed or fail. This course teaches you to write predicates that return exactly the rows you mean — no more, no less.
What you'll learn
- Combine conditions with
AND,OR, andNOT - Match a list of values with
INandNOT IN - Check numeric or date ranges with
BETWEEN - Pattern-match text with
LIKE(%wildcard) andILIKE(case-insensitive) - Handle missing data correctly with
IS NULLandIS NOT NULL - Control evaluation order with parentheses (why
ANDbinds tighter thanOR)
What you'll practice on
The HR database and the Store database. You'll filter employees by salary range and hire date, find customers by name pattern, and write conditions that correctly handle rows where data is missing.
Prerequisites
SQL Fundamentals (or equivalent — you should know SELECT, FROM, and basic WHERE).