健康一贴灵,专注医药行业管理信息化

SAP 主数据 查重常用SQL

1 客户名称重复,Z002是集团外合作伙伴

select partner,type,bpkind,bu_group,name_org1,name_org2,name_org3,name_last,name_first from but000
where name_org1 in (select name_org1 from but000 group by name_org1 having count(name_org1)>1) 
and bu_group = 'Z002' order by name_org1

 

posted @   一贴灵  阅读(189)  评论(0编辑  收藏  举报
学以致用,效率第一
点击右上角即可分享
微信分享提示