Joins SQL interview questions

Interviewers use joins to check whether you understand table grain. Watch for LEFT JOIN conditions that belong in ON, anti-joins with NOT EXISTS, and joins that silently duplicate rows.