NOT EXISTS SQL query help
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