I am a novice programmer, currently attempting to create a Java EE web application for a dissertation project.
I am currently designing that relational database for my web application and I have created an E-R Diagram for the database:
My query relates to the TeachingClass table. Each class can be taught by one or more Employees (normally a max of 3) and each class can contain one or more pupils (normally around 25). Each teaching class relates to exactly one course, however, there might be a several TeachingClass running simultaneously for each particular course.
From my E-R diagram can someone please confirm that I have set the Teaching Class table correctly, or should I be using two additional joining tables:
- One table between TeachingClass and Pupil
- One table between TeachingCLass and Employee.
Thanks in advance for any feedback/recommendations provided.