I have 2 tables like
id_a | id_b
-----------
01 | 011
01 | 012
02 | 021
02 | 022
and
id_b | cl | ds
------------------
011 | F9.00 | G
012 | F3.00 | G
021 | F9.00 | P
022 | G7.50 | G
the tables are joined on id_b.
Now I want to know every Id_a where there is no combination of F9.00 | G
. So in this case, my desired result is 02
. Even though, the row 01 | 012 | F3.00 | G
does not match the F9.00 | G
requirement, I dont want to have 01
as an result, because there is the combination 01 |011 | F9.00 | G
with 01
as id_a
.
Cant think of an easy query at the moment. Maybe some of you have an idea.
Regards, Søren