Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: Is there another way of looking at this query ?
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" - UnknownReceived on Wed Jul 05 2006 - 09:53:46 CDT