oracle sql exists 用法

前端之家收集整理的这篇文章主要介绍了oracle sql exists 用法前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
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)

猜你在找的Oracle相关文章