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 -> Outer join by (+)

Outer join by (+)

From: <nova1427_at_gmail.com>
Date: Mon, 17 Dec 2007 00:01:43 -0800 (PST)
Message-ID: <b2997a8d-6b8c-4f23-a7e0-805048e34b2a@o42g2000hsc.googlegroups.com>


There are two type to write select qurey left or right outer join

1.
from table1 left outer join table2 on (table1..column1=table2.column1)

2.
from table1, table2
where table1..column1=table2.column1(+)

Now I will add constant condation like table2.column2='AAAA'

it will be like this

1.
from table1 left outer join table2 on (table1..column1=table2.column1 and table2.column2='AAAA')

2.
from table1, table2
where table1..column1=table2.column1(+)
and table2.column2='AAAA'

but this is not left outer join becasue there is condition.

Question:
- How can I add this condition in secound case and still left outer
join?
- How can I make full outer join in secound case?
Received on Mon Dec 17 2007 - 02:01:43 CST

Original text of this message

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