How to Delete Duplicate Records from Table in SQL ServerSamir Bhogayta10yPublished Jun 27, 2016, 5:16 AMUpdated Jun 28, 2016, 12:57 AM897CodeThis code snippet is for to delete duplicate records from table in sql server.DELETE FROM TableName WHERE ID NOT IN ( SELECT MAX(ID) FROM TableName GROUP BY ColumnName)