or exists验证联合查询关联表是否存在存在则查询出信息
select 1 as biaoshi from jdxtz where exists (
select * from gzpxx where gzpxx.bh=jdxtz.gzpbh and dqzt='借出'
SRE实战 互联网时代守护先锋,助力企业售后服务体系运筹帷幄!一键直达领取阿里云限量特价优惠。or exists( select * from xlgl where xlgl.bh=jdxtz.gsxlbh and dqzt='借出')
or exists( select * from gtxx where gtxx.bh=jdxtz.gsgtbh and dqzt='借出')
) and rownum<=1

更多精彩