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

Home -> Community -> Usenet -> c.d.o.misc -> Re: How to a better way to find a record in the table?

Re: How to a better way to find a record in the table?

From: Fred Peeters <Fred.Peeters_at_village.uunet.be>
Date: Sat, 7 Aug 1999 20:59:16 +0200
Message-ID: <7oi01s$3ne$1@nickel.uunet.be>

Try 'intersect'

This is how your query would look like:

select id from T where code = 'aa'
intersect
select id from T where code = 'cc'
/

Fred (Fred.Peeters_at_village.uunet.be) Received on Sat Aug 07 1999 - 13:59:16 CDT

Original text of this message

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