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: distinct with <>

Re: distinct with <>

From: DA Morgan <damorgan_at_x.washington.edu>
Date: Mon, 09 May 2005 14:30:39 -0700
Message-ID: <1115674001.193266@yasure>


vegas_girlie wrote:

> hi. the business problem is pretty simple. i need to find out if
> there are any email addresses that exist in table A that do not exist
> in table B. out of the 6500 records in table A there should be only a
> few hundred records that do not exist in Table B.
>
> thanks!

Your three choices are:

NOT EXISTS
NOT IN
SUBTRACT You can find examples of all three of these if you go to: http://www.psoug.org
click on Explain Plan
scroll down and look at examples 1-6.
A little modification of several of these will solve the problem.

-- 
Daniel A. Morgan
University of Washington
damorgan_at_x.washington.edu
(replace 'x' with 'u' to respond)
Received on Mon May 09 2005 - 16:30:39 CDT

Original text of this message

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