Students can enroll in multiple courses, and courses have multiple students
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
Students can enroll in multiple courses, and courses have multiple students. Design the enrollment junction table that links students to courses using a composite key of both foreign keys.
Practice This Problem
Solve this Data Modeling problem with real code execution. DataDriven runs your solution and grades it automatically.