AnnIsabelle
Programmer
Hi,
I have a problem with defining a query.
I have a database with a table Students and a table Courses. Between these two there is a junction table, cause students can choose multiple courses and courses can be chosen by multiple students.
Now I want to know from the group of students who have choosen course 10, which ones also choose course 5 or 6 of 7 ... I want to do the last step by using a parameter query.
I don't know how to do this in Access. Choosing "or" in the criteria of the query window gives me everyone who choose 10 or e.g. 5. And using "and" returns me 0 records, although there are students that fulfill the criteria.
Desperately in need of help,
AnnIsabelle
I have a problem with defining a query.
I have a database with a table Students and a table Courses. Between these two there is a junction table, cause students can choose multiple courses and courses can be chosen by multiple students.
Now I want to know from the group of students who have choosen course 10, which ones also choose course 5 or 6 of 7 ... I want to do the last step by using a parameter query.
I don't know how to do this in Access. Choosing "or" in the criteria of the query window gives me everyone who choose 10 or e.g. 5. And using "and" returns me 0 records, although there are students that fulfill the criteria.
Desperately in need of help,
AnnIsabelle