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!

Replace the NOT EXISTS clause

user5123346Apr 8 2015 — edited Apr 8 2015

Hi All,

I am using Oracle 10g.

I have a following query and want to get rid of the "NOT EXISTS' clause without changing the end results.

SELECT   A.c,

         A.d,

         A.e,

         A.f

  FROM   A

WHERE   NOT EXISTS (SELECT   1

                       FROM   B

                      WHERE   B.c = A.c AND B.d = A.d AND B.e = A.e);

Thanks,

Comments

Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on May 6 2015
Added on Apr 8 2015
15 comments
27,781 views