Explain it in 60 seconds
IN vs EXISTS
Data Analyst · SQL for Analytics · Beginner
What is the difference between IN and EXISTS?
What a strong answer covers
Your AI report card counts how many of these ideas you cover.
- IN: value in a list/subquery.
- EXISTS: true if subquery returns any row.
- NOT IN with NULLs returns nothing.
- NOT EXISTS safer.
- Optimisers often treat similarly.
Practise this topic
Start without signing up. Sign in free to get an AI report card on your answer.