Quering 2 IDs from a single table
From: Paul (hytmgrt_at_yahoo.com)
Date: 05/30/04
- Next message: Chris: "DLookup"
- Previous message: Jeff Boyce: "Re: highlighting field in query or report"
- Next in thread: Douglas J. Steele: "Re: Quering 2 IDs from a single table"
- Reply: Douglas J. Steele: "Re: Quering 2 IDs from a single table"
- Messages sorted by: [ date ] [ thread ]
Date: Sun, 30 May 2004 18:42:09 +0200
Hi,
I need to query 2 salesman_ID from a table but I cannot figure out how.
SELECT salesman_ID,
FROM product
WHERE salesman_ID=23 AND salesman_ID=18
and
SELECT A.salesman_ID
FROM product A
INNER JOIN product B ON A.product_ID = B.product_ID
AND A.salesman_ID = 19
AND B.salesman_ID = 23
Don't work.
What am I missing.
TIA
Paul
- Next message: Chris: "DLookup"
- Previous message: Jeff Boyce: "Re: highlighting field in query or report"
- Next in thread: Douglas J. Steele: "Re: Quering 2 IDs from a single table"
- Reply: Douglas J. Steele: "Re: Quering 2 IDs from a single table"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|
|