Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

afrasiyabhaider's avatar

How to build schema for Student, Course and Class relation?

I want to allocate courses to

  • students
  • class
  • course
I basically want to make the relation of

    - courses with class
    - class with students

so students should have all courses which are taught in the chosen class but some of the students might not be allowed to study a few courses allocated to the class

please guide me on how to create the schema for this situation?

0 likes
1 reply

Please or to participate in this conversation.