Design a complete e-commerce schema: users, products, and orders tables
A medium Data Modeling interview practice problem on DataDriven. Write and execute real data modeling code with instant grading.
- Domain
- Data Modeling
- Difficulty
- medium
Problem
Design a complete e-commerce schema: users, products, and orders tables. Orders reference both users and products via foreign keys. Use appropriate key types and set up relationships.
Practice This Problem
Solve this Data Modeling problem with real code execution. DataDriven runs your solution and grades it automatically.