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!

Q: Left or Right Outer Join?

ToolTimeTaborMar 18 2020 — edited Mar 18 2020

I am mostly a SQL Server guy.  I inherited an Oracle problem that involves a query structure that uses WHERE clauses as joins, rather than JOIN statements.

     SELECT * FROM

          po_distributions_all pod

          , pa_projects_all pap

     WHERE

     pod.project_id = pap.project_id(+)

I understand this to be an outer join.  The question is, which direction?  Is this a (pod LEFT OUTER pap) or a (pod RIGHT OUTER pap) or (pap LEFT OUTER pod) or (pap RIGHT OUTER pod) join?

How do I decipher the indicator?

Thanks.

This post has been answered by Jonathan Lewis on Mar 18 2020
Jump to Answer
Comments
Post Details
Added on Mar 18 2020
3 comments
285 views