select a.item,a.qty,decode(b.price,null,0)
        from a,b where a.item=b.item(+)