oracle查询表中字段里数据是否有重复

2025-01-24 09:21:07
推荐回答(1个)
回答1:

select a.count1-b.count2 from
(select count(value1) count1 from tablename) a,(select count( distinct value2) count2 form tablename) b.