Databases · Junior · Question 19 of 75
What does WHERE status IN ('new', 'paid') mean?
- 1
statuscontains both words - 2
statusis notnewand notpaid - ✓Correct answer:
statusequalsneworpaid
Explanation
It's a short form of status = 'new' OR status = 'paid'. IN also accepts a subquery: WHERE user_id IN (SELECT id FROM ...).