Interview practice question
Tracking order status changes
Data Engineering · Data Modeling · Beginner
Orders go through statuses: placed, paid, shipped, delivered. The business wants current status and how long each step takes. How do you model it?
What a strong answer covers
Your AI report card counts how many of these ideas you cover.
- An order status history table or event fact with one row per status change.
- An accumulating snapshot with one row per order and a date per milestone.
- Current status on the order table.
- Lag measures between milestones.
- Handle skipped or repeated statuses.
Practise this topic
Start without signing up. Sign in free to get an AI report card on your answer.