Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Table Join Using ANSI and Oracle joins

996283Jul 8 2016 — edited Jul 8 2016

Hi,

Is that something oracle recommends to join table using general syntax(in query tables separated by comma and join condition put in where clause) and not the ANSI syntax (using keyword like "INNER JOIN, LEFT OUTER JOIN etc") ans ANSI has become out of fashion these days.

Using general Syntax :

SELECT ...

FROM  dataset_one d1

,  dataset_two d2

WHERE  d1.column(s) = d2.column(s)

AND   ...


using ANSI Syntax (please let me know if this method of tbale joining is not preferred and out dated):


SELECT ...

FROM  dataset_one d1

   JOIN TYPE

  dataset_two d2

   ON (d1.column(s) = d2.column(s)) --<-- can also use USING (column(s))

WHERE  filter_predicates...

Thanks,

Vipin Kumar Rai

This post has been answered by BluShadow on Jul 8 2016
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 5 2016
Added on Jul 8 2016
5 comments
3,515 views