Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> RE: left outer join

RE: left outer join

From: Gogala, Mladen <Mladen.Gogala_at_aetn.com>
Date: Fri, 20 Aug 2004 15:25:22 -0400
Message-ID: <30462D80AA52E74698512ADCC4F7EAA312239690@exchange.aetvn.com>


Aaaargh! Why do people use that @#$%! ANSI-standard syntax instead of user friendly "+"!!!! I thought that his query is something like:

 select count(*) from tab1 g1,tab2 g2
 where g1.iuid(+) = g2.yypid
   and g2.yypid is null;

That's what happens when people decide that they should follow standards!

--
Mladen Gogala
Oracle DBA
email:mladeng_at_aetvn.com
Ext: 9787



> -----Original Message-----
> From: Bobak, Mark [mailto:Mark.Bobak_at_il.proquest.com]
> Sent: Friday, August 20, 2004 3:21 PM
> To: oracle-l_at_freelists.org
> Subject: RE: left outer join
>
>
> Mladen,
>
> I think you have left and right outer join confused. The
> left or right = indicates the side of the join that is not deficient.
>
> So, in the example below, tab1 left join tab2 means that tab1
> has all = rows and tab2 may be missing rows.
>
> So, I think his query is valid. He's counting how many rows
> in tab1 are = not in tab2 (where tab2.yyid is null).
>
> -Mark
>
---------------------------------------------------------------- Please see the official ORACLE-L FAQ: http://www.orafaq.com ---------------------------------------------------------------- To unsubscribe send email to: oracle-l-request_at_freelists.org put 'unsubscribe' in the subject line. -- Archives are at http://www.freelists.org/archives/oracle-l/ FAQ is at http://www.freelists.org/help/fom-serve/cache/1.html -----------------------------------------------------------------
Received on Fri Aug 20 2004 - 14:21:47 CDT

Original text of this message

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