What are semi-joins and anti-joins? Explain how EXISTS/NOT EXISTS or IN/NOT IN can implement them as analytical filters.
Role: Data Scientist
Category: Data Manipulation (SQL/Python)
Difficulty: medium
Interview Round: Other
Overview: Asks what semi-joins and anti-joins are and how EXISTS, NOT EXISTS, IN and NOT IN express them as SQL filters. Tests whether you understand how these filters differ from a plain join, how NULLs affect each form, and how to apply them to funnel and cohort questions.