Solved

inner join in oracle 8

Posted on 2003-10-27
6
2,091 Views
Last Modified: 2008-02-01
Hello I am new wroking in Oracle, so I want to know if the inner join clause work in Oracle 8.
Thanks a lot

Giova
0
Comment
Question by:giovamc
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
6 Comments
 
LVL 3

Accepted Solution

by:
ubasche earned 125 total points
ID: 9632273
You can use the "inner join" keyword in Oracle from Version 9
onwards. In previous versions you need to use the old Oracle syntax.


New syntax (Oracle9):

SELECT * FROM T1 INNER JOIN T2 ON T1.C1 = T2.C3


Old syntax (Oracle8):
 
SELECT * FROM T1, T2 WHERE T1.C1 = T2.C3

0
 

Expert Comment

by:maheshmandave
ID: 9648728
You can use
select * from T1,T2
where T1.C1(+)=T2.C3

where T1 and T2 are table names and C1 and C3 are columns

Hope this is OK with you
0
 
LVL 3

Expert Comment

by:ubasche
ID: 9649506

The syntax using a "(+)" in the join condition is an outer join in Oracle.
For innerjoins you have to join without "(+)".
0
 

Expert Comment

by:maheshmandave
ID: 9655186
Hi ubasche
thx for clearing my fundamentals
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Shadow IT is coming out of the shadows as more businesses are choosing cloud-based applications. It is now a multi-cloud world for most organizations. Simultaneously, most businesses have yet to consolidate with one cloud provider or define an offic…
As technology users and professionals, we’re always learning. Our universal interest in advancing our knowledge of the trade is unmatched by most industries. It’s a curiosity that makes sense, given the climate of change. Within that, there lies a…
Video by: Steve
Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

705 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question