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