G
Guest
I am trying to create a database to show the homework I set for my various classes.
I want to be able to enter homework for each class and then see a list of students and record their grades for each piece of work. I have a class table, students table , homework and homework details tables, I have used the homework details table as a junction between class table and homework table (as many classes have many homeworks and many homeworks have many classes). However when I try and get my list of students who have a particular homework it fails. The class table and the students table are connected using the class primary field in class to class foreign key in students.
Can anyone help me?
I want to be able to enter homework for each class and then see a list of students and record their grades for each piece of work. I have a class table, students table , homework and homework details tables, I have used the homework details table as a junction between class table and homework table (as many classes have many homeworks and many homeworks have many classes). However when I try and get my list of students who have a particular homework it fails. The class table and the students table are connected using the class primary field in class to class foreign key in students.
Can anyone help me?