DataDriven
LearnPracticeInterviewDiscussDailyJobs

An order_items table has (order_id, product_id, product_name, quantity)

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

An order_items table has (order_id, product_id, product_name, quantity). The product_name depends only on product_id, not the full composite key. Extract products into a separate table to achieve 2NF.

How This Interview Works

  1. Read the vague prompt (just like a real interview)
  2. Ask clarifying questions to the AI interviewer
  3. Write your data modeling solution with real code execution
  4. Get instant feedback and a hire/no-hire decision

Related

  • All Mock Interviews
  • Practice Mode (untimed)
  • Data Modeling Interview Questions
  • Data Engineering Interview Prep Guide
  • Practice Problems
  • Daily Challenge