1、例如:id name value1 a pp2 a pp3 b iii4 b pp5 b pp6 c pp7 c pp8
2、 c iiiid是主键要求得到这样的结果id name value1 a pp3 b iii4 b pp6 c pp8 c iii方法1delete YourTable w
3、here [id] not in (select max([id]) from YourTable group by (name + value))方法2delete afrom 表 a left join(select id=min(id) from 表 group by name,value)b on a.id=b.idwhere b.id is null查询及删除重复记录的SQL语句查询及删除重复记录的SQL语句1、查找表中多余的重复记录,重复记录是根据单个字段(peopleI