数据库
首页 > 数据库> > SAP 主数据 查重常用SQL

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

 

标签:查重,SAP,group,name,but000,bu,SQL,org1,select
来源: https://www.cnblogs.com/lrzy/p/15620230.html