N
needlewomyn
I am trying to build a query that I originally thought would be easy but have
had no luck muddling through to a solution. I appreciate any help you can
give. I can work pretty easily with the query design grid, but am an
absolute novice at the SQL langauge.
I have a table called "students" and another called "courses." They are
linked in a one-to-many relationship, with "studentID" as the primary key /
linking field. For every record in the parent table ("students"), there are
multiple records in "courses" (the courses they have actually completed).
What I need is a query that will show me which students have not taken a
particular course, "requ1" (that is, I need a query that will show me which
records from the parent table do not have a record with a particular
critieria in the child table). I can easily write a query that shows which
students have taken "requ1," but not which ones haven't.
I've looked around this site a bit and think I might need to do something
with an outer join, but I'm fuzzy on what that means and how to to do.
Thanks.
had no luck muddling through to a solution. I appreciate any help you can
give. I can work pretty easily with the query design grid, but am an
absolute novice at the SQL langauge.
I have a table called "students" and another called "courses." They are
linked in a one-to-many relationship, with "studentID" as the primary key /
linking field. For every record in the parent table ("students"), there are
multiple records in "courses" (the courses they have actually completed).
What I need is a query that will show me which students have not taken a
particular course, "requ1" (that is, I need a query that will show me which
records from the parent table do not have a record with a particular
critieria in the child table). I can easily write a query that shows which
students have taken "requ1," but not which ones haven't.
I've looked around this site a bit and think I might need to do something
with an outer join, but I'm fuzzy on what that means and how to to do.
Thanks.