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: SQL challenge;-)

Re: SQL challenge;-)

From: Galen Boyer <galenboyer_at_yahoo.com>
Date: 3 May 2001 08:50:02 -0500
Message-ID: <un18u35lz.fsf@primix.com>

On Thu, 3 May 2001, fh_at_energotec.de wrote:

> SELECT <column> FROM <table1> WHERE <column> NOT IN (SELECT
> <column> FROM <table2>);

select test1.fld1, test2.fld1
from test1,test2
where test1.fld1 = test2.fld1 (+)
and test2.fld1 IS NULL
;

If you do this query, you might find it to work faster, but haven't tested this theory in awhile.

-- 
Galen
I don't want to be the rock.  Yeah, okay, what do you want to be?
I want to be the piece of glass.
Received on Thu May 03 2001 - 08:50:02 CDT

Original text of this message

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