J
Jane
I have 3 tables as follows:
tblCourse (courseID (Primary), name, start date, fees, ...)
tblStudent(studentID (primary), DOB, mother's maiden name,
nationality, ...)
tblStudentCourse(courseID (Primary), studentID (primary),
selection outcome, fees paid, assessment result, ...)
The first two are linked with the last in the middle.
There is a 1-many between tblCourse and tblStudentCourse,
since a course has many students.
Also, there is a 1-many between tblStudent and tblCourses,
as a student may atend many courses.
My problem is that I want a subset of tblStudentCourse, as
quite a few fields relate to 1 course only and another
bunch of fields relate to 1 other course only. But all
the rest of the fields relate to all the courses.
I have created 2 tables with the extra stuff
tblCertExtraStuff(courseID (Primary), studentID (primary),
exam result, project, assessment, ...)
tblDiplomaExtraStuff(courseID (Primary), studentID
(primary), FeesYear2, Fees Year3, ...)
How do I relate the 2 extra fields to the other three?
Any help would be greatly appreciated.
Thanks
Jane
tblCourse (courseID (Primary), name, start date, fees, ...)
tblStudent(studentID (primary), DOB, mother's maiden name,
nationality, ...)
tblStudentCourse(courseID (Primary), studentID (primary),
selection outcome, fees paid, assessment result, ...)
The first two are linked with the last in the middle.
There is a 1-many between tblCourse and tblStudentCourse,
since a course has many students.
Also, there is a 1-many between tblStudent and tblCourses,
as a student may atend many courses.
My problem is that I want a subset of tblStudentCourse, as
quite a few fields relate to 1 course only and another
bunch of fields relate to 1 other course only. But all
the rest of the fields relate to all the courses.
I have created 2 tables with the extra stuff
tblCertExtraStuff(courseID (Primary), studentID (primary),
exam result, project, assessment, ...)
tblDiplomaExtraStuff(courseID (Primary), studentID
(primary), FeesYear2, Fees Year3, ...)
How do I relate the 2 extra fields to the other three?
Any help would be greatly appreciated.
Thanks
Jane