I have a table called order_shipment with primary keys order_id,
order_item_seq_ id etc. I also another table called order_item with
primary keys order_id, order_item_seq_ id etc.
I want all the order_id's which look like '7000%' that are in
order_item but not in order_shipment. Please help me with creating the
sql. I tried UNION, LEFT OUTER JOINS etc. But nothing works, if there
was a MINUS like in Oracle 9i it would solve my problem, but
unfortunately it is not there. Please help.
Thanks,
Yasaswi
order_item_seq_ id etc. I also another table called order_item with
primary keys order_id, order_item_seq_ id etc.
I want all the order_id's which look like '7000%' that are in
order_item but not in order_shipment. Please help me with creating the
sql. I tried UNION, LEFT OUTER JOINS etc. But nothing works, if there
was a MINUS like in Oracle 9i it would solve my problem, but
unfortunately it is not there. Please help.
Thanks,
Yasaswi
Comment