Hi folks,
i'm having a mental-block day. I have a query which holds 3 tables [from an education database].
Table 1. [courses]
ClassID
Classname
Table 2. [course_dates]
CourseDatesID ('uniqueid')
ClassID ('linked to classID in table 1.')
DateOfCourse
Table 3. [students_and_courses]
studentclassID ('unique ID']
studentID ('linked to another external table [students]')
CourseDateID ('linked to table 2.')
I'm trying to run a query that finds all students that have NOT attended a particular course on ANY occasion.
Obviously a course may be run 3 or 4 times a year, so how do i list all students who have never attended a course?
Example of data; courseID = "63" (Classname = "critcare3")?
Any suggestions would be helpful please.
MrPiccolo
i'm having a mental-block day. I have a query which holds 3 tables [from an education database].
Table 1. [courses]
ClassID
Classname
Table 2. [course_dates]
CourseDatesID ('uniqueid')
ClassID ('linked to classID in table 1.')
DateOfCourse
Table 3. [students_and_courses]
studentclassID ('unique ID']
studentID ('linked to another external table [students]')
CourseDateID ('linked to table 2.')
I'm trying to run a query that finds all students that have NOT attended a particular course on ANY occasion.
Obviously a course may be run 3 or 4 times a year, so how do i list all students who have never attended a course?
Example of data; courseID = "63" (Classname = "critcare3")?
Any suggestions would be helpful please.
MrPiccolo