I have a table and I want to run a query that shows the following:-
I have a Department field and a Subject Group Field.
Each Department has a number of Subject Groups.
So you may have Dept "Teaching", which has 4 Subject Groups, SG T1, SG T2, SG T3 and SG T4
What I want to find out from the data is if there are any instances of mismatch so where there are records that are Dept "Teaching" but there is a Subject Group that is not one of the above listed e.g. SG X1.
How do I write this in the query?
At the moment I have this
DEPT
"Teaching"
SUB GRP
Not "SG T1"
Not "SG T2"
Not "SG T3"
Not "SG T4"
This just returns everything.....is this the wrong syntax??
Thanks!
Bookmarks