select * from a,b where a.pk1 = b.pk1 (+) and a.pk2 = b.pk2 (+)