Oracle 关联查询

Posted on 2017-05-10 21:02  断弦悠扬  阅读(124)  评论(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 ;

Copyright © 2024 断弦悠扬
Powered by .NET 8.0 on Kubernetes