SQL(根据自己需要改列名、表名):
delete from tableA where id not in (select min(id) from tableA group by name,age)
原标题:MSSQL删除重复记录
关键词:MSSQL