输入banner图图片脚本导航/分类

Oracle查询重复字段

  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