Oracle 关联查询

Posted on 2017-05-10 21:02  断弦悠扬  阅读(129)  评论(0)    收藏  举报


select count(1),a.policy_id from gp_pol_prod a where a.product_id=8401 group by a.policy_id having count(1)=1 ;

博客园  ©  2004-2025
浙公网安备 33010602011771号 浙ICP备2021040463号-3