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: question about a select statement

Re: question about a select statement

From: James Lorenzen <lorenzen_at_tiny.net>
Date: Fri, 12 Jun 1998 03:04:47 GMT
Message-ID: <lorenzen-ya02408000R1106982204470001@news.visi.com>


The "minus" will work.
I.E.
select column A from table 1
minus select column A from table 2 ;

It will do what you've asked, but not more.

HTH
   James

In article <35807EEA.69BE_at_indy.net>, mmeadows_at_indy.net wrote:

>Suppose I have 2 tables.
>
>Table 1 & Table 2 have the same columns: column A & column B.
>
>What select command can I use to find all of the instances of
>Column A that are in Table 1 but not Table 2?
>
>Thanks,
>Martin Meadows

--

lorenzen_at_tiny.net             | Life is complex; it has
                              |   real and imaginary parts
Received on Thu Jun 11 1998 - 22:04:47 CDT

Original text of this message

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