时间:2021-07-01 10:21:17 帮助过:4人阅读
select org_id from oa_food_yy group by org_id having count(*)>1
查询某些字段有重复的数据:
select org_id,food_id from oa_food_yy group by org_id,food_id having count(*)>1
select * from oa_food_yy where (org_id,food_id) in (select org_id,food_id from oa_food_yy group by org_id,food_id having count(*)>1)
Oracle查询重复字段
标签:重复 select acl sof sele font ros 字段 where