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: Different syntax for LEFT JOIN

Re: Different syntax for LEFT JOIN

From: DA Morgan <damorgan_at_x.washington.edu>
Date: Mon, 22 Nov 2004 19:15:19 -0800
Message-ID: <1101179630.329921@yasure>


Ruslan Kogan wrote:

> hi,
>
> I am just wondering if there is a difference in the following two syntaxes:
>
> SELECT *
> FROM TableA
> LEFT JOIN TableB ON
> TableA.id = TableB.id
>
> SELECT *
> FROM TableA, TableB
> WHERE
> TableA.id(+) = TableB.id
>
> is this correct? I am a little confused about where to position the '(+)'.
>
> Thanks heaps!!!

For a comparison of ISO and ANSI syntaxes: Go to http://www.psoug.org
click on Morgan's Library
click on Joins

-- 
Daniel A. Morgan
University of Washington
damorgan_at_x.washington.edu
(replace 'x' with 'u' to respond)
Received on Mon Nov 22 2004 - 21:15:19 CST

Original text of this message

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