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: left outer join

Re: left outer join

From: Andre Grosse <ag17_at_inf.tu-dresden.de>
Date: Tue, 15 Jan 2002 13:13:53 +0100
Message-ID: <3C441D01.3030705@inf.tu-dresden.de>


nothing at all...but it dosnt help with the original select, i constructed this example from that.

select t11.bla, t12.blub
from table1 t11 left join table1 t12

   on t12.id in (select t2.hmpf

                 from table2 t2
                 where rownum <= 1 and (t2.hihi = t11.bla))

would be more specific. its really a needed left join. :)

-- 
Andre Grosse


Niall Litchfield wrote:


> what is wrong with
>
> select count(*) from table1
> where exists(
> select 1 from table2 where table2.id=1);
>
>
Received on Tue Jan 15 2002 - 06:13:53 CST

Original text of this message

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