Explain join fan-out (row explosion), how it inflates aggregates, and how to mitigate it
Role: Data Scientist
Category: Data Manipulation (SQL/Python)
Difficulty: medium
Interview Round: Other
Overview: Asks what join fan-out is, why a one-to-many join inflates sums and counts, and how to prevent it. Tests your grasp of table grain, aggregating child tables before joining, the trap of joining two child tables to one parent, and how to detect duplicated rows in SQL.