Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: Q: sql query where criteria is not all contained in each row

Re: Q: sql query where criteria is not all contained in each row

From: Arjan van Bentem <avbentem_at_DONT-YOU-DAREdds.nl>
Date: Mon, 3 Aug 1998 07:02:34 +0200
Message-ID: <6q3g8i$864$1@newton.a2000.nl>


>SELECT * FROM invoice_detail WHERE product_id in (002,005);

Ehhh, no! This only checks if product_id of a certain row is either '002' or '005'. This is not what John needs. In his case, one row could have product_id '002', another '005'.

Arjan. Received on Mon Aug 03 1998 - 00:02:34 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US