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: id <> '2'

Re: id <> '2'

From: Geoff Muldoon <geoff.muldoon_at_trap.gmail.com>
Date: Thu, 22 Sep 2005 09:13:29 +1000
Message-ID: <MPG.1d9c94207a8478a69896f2@news.readfreenews.net>


hillmw_at_charter.net says...
> nvl works great!!!

There are (as per the other responses) actually a myriad of ways to get the result you want, and which to choose will depend on the structure (number of rows, cardinality, etc.) of your data.

For example, another option:

select *
from mytable
minus
select *
from mytable
where id=2

Geoff M Received on Wed Sep 21 2005 - 18:13:29 CDT

Original text of this message

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