A supplier_parts table has a composite key (supplier_id, part_id) plus columns supplier_name and qua
A medium Data Modeling mock interview question on DataDriven. Practice with AI-powered feedback, real code execution, and a hire/no-hire decision.
- Domain
- Data Modeling
- Difficulty
- medium
Interview Prompt
A supplier_parts table has a composite key (supplier_id, part_id) plus columns supplier_name and quantity. The supplier_name depends only on supplier_id, not the full composite key. This is a partial dependency. Extract suppliers into a separate table to achieve 2NF.
How This Interview Works
- Read the vague prompt (just like a real interview)
- Ask clarifying questions to the AI interviewer
- Write your data modeling solution with real code execution
- Get instant feedback and a hire/no-hire decision