Many-to-Many with a Join Table

Talk it through with a coach who asks guiding questions and gives hints until you reach the answer. Pass to mark the challenge as completed.

The problem

  • medium
  • Pro

Students can enrol on many courses and each course has many students. Explain how you'd model this relationship in tables, and how you'd query for all the courses one student is enrolled on.

Talk this problem through with an AI coach

This is a Pro challenge. Sign in with Google, then upgrade to start a voice session.

Start free →