Code for Example of outer join to display items which are sold and not sold till today in Oracle
Select invitem.itemno "Order", item.itemno "Not Ordered" from invitem, item where invitem.itemno (+)= item.itemno;
Output:
OrderNot Ordered
------ -----------
I0001 I0001
I0002 I0002
I0003 I0003
I0004 I0004
I0005 I0005