正在浏览:group by

1、查询表中所有重复数据,根据单个字段 name 判断 select * from student where name in (select name from student group by name having count(*) 1) 2、查询表中重复数据的数量,根据单个字段 name 判断 select