What is referential integrity, and how would you check for and repair violations during cleaning?
Role: Data Scientist
Category: Data Manipulation (SQL/Python)
Difficulty: medium
Interview Round: Other
Overview: Asks what referential integrity means between child and parent tables and how to find and fix orphan records while cleaning data. Tests anti-join detection in SQL and pandas, NULL handling, choosing a repair from business evidence, and preventing new violations.