The Rules That Broke
A medium SQL interview practice problem on DataDriven. Write and execute real sql code with instant grading.
- Domain
- SQL
- Difficulty
- medium
- Seniority
- L3
Problem
A downstream consumer flagged bad data from the quality-checks pipeline. Surface how many data quality checks with a constraint-related rule resulted in a failure.
Summary
Constraints exist for a reason. Something violated them anyway.
Practice This Problem
Solve this SQL problem with real code execution. DataDriven runs your SQL queries against a real database and grades it automatically.