SQL Developer (MOSC)

MOSC Banner

NOT EXISTS SQL query help

in SQL Developer (MOSC) 5 commentsAnswered ✓

Hello,

I have an SQL query attached below. Upon running, this shows two distinct RECEIVING_NUMBER (11077309, 11079756)


What I would like to do is to only show the RECEIVING_NUMBER that doesn't have the TRANSACTION_TYPE ACCEPT or DELIVER. The expected output to this would be the only the RECEIVING_NUMBER 11079756 would show. Problem is when using the NOT EXISTS clause results to none.


I have also attached below a screenshot of the SQL I am using for reference.


Any help or assistance would be greatly appreciated. Thank you

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center