Good effort! Ok there are a bunch of issues with your schema. It looks like you got confused when implementing the sections. Take a look at your relationships, and remember: the "one" side of a relationship is the side that has the id primary key, and the "many" side is the side that has the foreign key (which is always [name-of-other-table]_id)
So right now, these are your assocations: ###Good associations:###
- a student can have many classes, and a class can have many students [GOOD; this is the red line and black line attached to the students_classes table]
- one class can have many sections, and a section can have only one class [GOOD; this is the black line attached to the sections table]
- a teacher can have many sections, and a section can have only one teacher [GOOD; this is the dark blue line]
###Half good, half not good