C
candide_sh
Hello,
I have a table like this:
tblEACodes:
==============================
SK AQ_FKEY aqeEA_FKEY
== ======= ====
10 26 6
21 57 4
23 57 6
42 57 30
My SELECT clause:
SELECT SK, AQ_FKEY
FROM tblEACodes
WHERE tblEACodes.aqeEA_FKEY In (4,6,30);
shows all records if only one of the WHERE criteria is TRUE.
What I need is a query showing me only SK if ALL criteria is met. So
the IN-predicate is wrong for me.
In this example the row with SK = 10 should not be displayed which
happens with the IN-clause shown above.
Any hints? Thank you,
I have a table like this:
tblEACodes:
==============================
SK AQ_FKEY aqeEA_FKEY
== ======= ====
10 26 6
21 57 4
23 57 6
42 57 30
My SELECT clause:
SELECT SK, AQ_FKEY
FROM tblEACodes
WHERE tblEACodes.aqeEA_FKEY In (4,6,30);
shows all records if only one of the WHERE criteria is TRUE.
What I need is a query showing me only SK if ALL criteria is met. So
the IN-predicate is wrong for me.
In this example the row with SK = 10 should not be displayed which
happens with the IN-clause shown above.
Any hints? Thank you,