来个左链接查询看看 left join ------解决方案-------------------- select * from a,b
where a.a1=b.b1(+)
and a.a2=b.b2(+)
and (b1 is null or b2 is null) ------解决方案-------------------- select a.*
from a
full join b
on a.a1 = b.b1
and a.a2 = b.b2
where b.b1 is null ------解决方案--------------------
select a.*,b.* from a,b where a.A1=b.B1(+) and a.A2=b.B2(+)