查询存在重复字段的记录
select * from 表 group by 字段 having count(字段)>1
1.用一条SQL语句
select distinct name from table where name not in (select distinct name from table where fenshu <= 80)
select
查询存在重复字段的记录
select * from 表 group by 字段 having count(字段)>1
1.用一条SQL语句
select distinct name from table where name not in (select distinct name from table where fenshu <= 80)
select