Many times you can face problem of duplicate records in table.So How would you identify and delete duplicate records in a table? 
For that Firstly check if table has duplicate records or not using below query.
For that Firstly check if table has duplicate records or not using below query.
Query :
Then Delete duplicate records.
DELETE FROM tblTest WHERE ID NOT IN (SELECT MAX(ID) FROM tblTest GROUP BY [FirstName])
 
 
 About the Author
About the Author 
 



0 comments: