select VENDOR_NAME,count(distinct VENDOR_MDM_CODE) from I_INQUIRY_VENDOR_LIST
where 1=1
group by VENDOR_NAME
having count(distinct VENDOR_MDM_CODE)>1

 

select * from (select t1.entity_name,count(t1.entity_name),count(t1.mdm_code) as sss  from SCM_PROVIDER t1
where 1=1
group by t1.entity_name) t where t.sss > 1

 

相关文章:

  • 2021-07-13
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-01-24
  • 2022-12-23
  • 2021-08-10
  • 2021-11-29
相关资源
相似解决方案