Databases · Junior · Question 23 of 75

How do you find users who have no orders?

Explanation

This is an 'anti-join'. NOT EXISTS expresses it directly and the planner handles both forms well.

Further reading

Problem with a question

Databases · Junior · question 23

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