MSSQL删除重复记录

  SQL(根据自己需要改列名、表名):

delete from tableA where id not in (select min(id) from tableA group by name,age)

原文地址:https://www.cnblogs.com/zuqing/p/5180004.html