This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes JDBC and the fly likes Oracle : Inner Join syntax Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "Oracle : Inner Join syntax" Watch "Oracle : Inner Join syntax" New topic

Oracle : Inner Join syntax

Ravi Kiran Va
Ranch Hand

Joined: Apr 18, 2009
Posts: 2234


I am confused with Inner Join syntax .

As per the defination of Inner Join it says that
Inner joins return all rows from multiple tables where the join condition is met.

By going through Inner Join examples in web , Inner join is written in these syntaxes as shown :

First Syntax :

Second Syntax :

Please tell me if the keyword Inner Join usage is mandatory or not ??

Thank you .

Save India From Corruption - Anna Hazare.
Ravi Kiran Va
Ranch Hand

Joined: Apr 18, 2009
Posts: 2234

I will reply to my question itself :

first is ANSI syntax and second is non ANSI .

As backward compability Oracle is still supporting ANSI syntax.

Please let me know if you have any queries .
I agree. Here's the link:
subject: Oracle : Inner Join syntax
Similar Threads
Doubt regarding joins in SQL...
HQL join syntax
JDBC/SQL/Financial Interview Question
inserts into join tables
Hibernate Desing issue