oracle sql exists 用法

来源:互联网 发布:mysql limit 动态参数 编辑:程序博客网 时间:2024/05/24 05:08
SELECT house.id,       house.resblock_name,       house.building_name,       house.unit_name,       house.room_no,       house.house_name,       house.house_code  FROM hdic.t_hm_house house where house.city_id = '110000'         AND not exists (select 1          from hdic.t_hm_build_panorama pan         where house.id = pan.build_id           and pan.build_type = 2           and pan.upload_status = 1)

0 0
原创粉丝点击