G
ghost
I have 2 tables, one for student info and the other one is for Student's
courses. In the second table "Student's Courses" there are three fields,
Student Number, CourseID and Mark. The Student Number is foreign key and each
student has 10 courses. What I want to do is preventing the courseID from
duplicating, but the problem is there are too many students may take this
course. How to ensure that the student does not have duplicated course in
this table.
Thanks
courses. In the second table "Student's Courses" there are three fields,
Student Number, CourseID and Mark. The Student Number is foreign key and each
student has 10 courses. What I want to do is preventing the courseID from
duplicating, but the problem is there are too many students may take this
course. How to ensure that the student does not have duplicated course in
this table.
Thanks