I have a table with the multiple records where PLACE_ORDER entry is not there i.e order#594886579291. I want to fetch only order where PLACE_ORDER row is not there like 594886579291.
If I do a simple query like
SELECT * FROM ORDER_STATUS os WHERE os.SERVICE_NAME != 'OC'.
It returns orders 594886579290 & 594886579295 without OC. I need only 594886579291.
I tried self join but no luck.
FYI- I am using DB2.