Databases · Junior · Question 19 of 75

What does WHERE status IN ('new', 'paid') mean?

Explanation

It's a short form of status = 'new' OR status = 'paid'. IN also accepts a subquery: WHERE user_id IN (SELECT id FROM ...).

Further reading

Problem with a question

Databases · Junior · question 19

Test yourself

Take the Databases · Junior quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz