sql查询重复数据
select * from 数据表 WHERE 重复记录字段 in ( select 重复记录字段 from 数据表 group by 重复记录字段 having count(重复记录字段)>1)
select temp.name, count(1)as num from table temp group BY temp.c_no where num>1
sql查询重复数据
select * from 数据表 WHERE 重复记录字段 in ( select 重复记录字段 from 数据表 group by 重复记录字段 having count(重复记录字段)>1)
select temp.name, count(1)as num from table temp group BY temp.c_no where num>1