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: Is there another way of looking at this query ?

Re: Is there another way of looking at this query ?

From: Brian Peasland <oracle_dba_at_nospam.peasland.net>
Date: Wed, 5 Jul 2006 14:53:46 GMT
Message-ID: <J1xqpn.2Lx@igsrsparc2.er.usgs.gov>


As stated, the UNION clause will remove the duplicates. As such, the NOT IN clause is not necessary.

SELECT A.1, A.2
FROM A
UNION
SELECT B.1, B.2
FROM B HTH,
Brian

-- 
===================================================================

Brian Peasland
oracle_dba_at_nospam.peasland.net
http://www.peasland.net

Remove the "nospam." from the email address to email me.


"I can give it to you cheap, quick, and good.
Now pick two out of the three" - Unknown
Received on Wed Jul 05 2006 - 09:53:46 CDT

Original text of this message

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