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!

Difference between old JOIN and ANSI JOIN syntax

User_TDDEPJun 30 2022

Could you please explain me how to rewrite (+) old JOIN sysntax to ANSI JOIN syntax?
I tried like this but it is not working for me for more then two tables:
e.g.:
SELECT E.*, D.*, J.*
FROM EMPLOYEES E, DEPARTMENTS D, JOBS J
WHERE E.DEPARTMENT_ID(+)=D.DEPARTMENT_ID
AND E.JOB_ID(+)=J.JOB_ID
AND E.JOB_ID(+)='HR REP'
ORDER BY E.DEPARTMENT_ID;

Please help me !

This post has been answered by Frank Kulash on Jun 30 2022
Jump to Answer

Comments

Post Details

Added on Jun 30 2022
6 comments
632 views