Okay let me do a better job explaining this. Assume I have a person column and a type column. The same person could be in the table multiple times, but with different types. I want all the people who have a specified type UNLESS they are listed with other types.
So given this data
Person Type
--------------
Bob S
Sue S
Bob O
Tom S
Frank S
Frank R
I want to see Persons who have the Type S, but are also not listed with either Type O or R. So my query should return
Person Type
--------------
Sue S
Tom S
Thanks!
This will do:
However if you have multiple records for the same person and type ‘S’, then this will remove those duplicates