Solved

inner join in oracle 8

Posted on 2003-10-27
6
2,044 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
  • 2
  • 2
6 Comments
 
LVL 3

Accepted Solution

by:
ubasche earned 125 total points
Comment Utility
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
Comment Utility
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
Comment Utility

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
Comment Utility
Hi ubasche
thx for clearing my fundamentals
0

Featured Post

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

Using SQL Scripts we can save all the SQL queries as files that we use very frequently on our database later point of time. This is one of the feature present under SQL Workshop in Oracle Application Express.
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…
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…

728 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now