Hi,
How to get all the id's from the first query, which are not in the
result set of the second query?
All id's which are in
SELECT spelerid
FROM speler_team
WHERE ! ( einddatum IS NULL )
but NOT in
SELECT spelerid
FROM speler_team
WHERE ( einddatum IS NULL )
Example:
result set query 1 is: 1,2,3,5,6,8,9
result set query 2 is: 2,5,6,10
I want to have 1,3,8,9
Is this possible with one query? If yes, how?
GB
PS: Sorry for the cross groups posting. I am in a hurry
How to get all the id's from the first query, which are not in the
result set of the second query?
All id's which are in
SELECT spelerid
FROM speler_team
WHERE ! ( einddatum IS NULL )
but NOT in
SELECT spelerid
FROM speler_team
WHERE ( einddatum IS NULL )
Example:
result set query 1 is: 1,2,3,5,6,8,9
result set query 2 is: 2,5,6,10
I want to have 1,3,8,9
Is this possible with one query? If yes, how?
GB
PS: Sorry for the cross groups posting. I am in a hurry
Comment