Lesson 4 of 3213%
(Progress persistence is disabled until Phase 9)
SQL
Beginner
AND, OR, NOT
Combine multiple conditions.
AND, OR, NOT
Combine multiple conditions.
Example
-- Use AND and OR to combine conditions
SELECT * FROM users WHERE age > 20 AND country = 'USA';
Test it Yourself