Hi All,
I have a table which has duplicate rows. I need to delete the duplicate rows but I can not simply delete all the the duplicate rows and keep only one copy of the record. My requirment is such that, I need to delete Duplicate rows but need to keep two duplicate rows.
For example If I have a table Employee with the records as shown below.
Employee
-------------------------------
First_Name Last_Name
Arun Pandey
Arun Pandey
Arun Pandey
Arun Pandey
Arun Pandey
Arun Pandey
Arun Pandey
Shweta Tiwari
Shweta Tiwari
Shweta Tiwari
Shweta Tiwari
Shweta Tiwari
After running the delete query I should have the below values in the table.
Employee
-------------------------------
First_Name Last_Name
Arun Pandey
Arun Pandey
Shweta Tiwari
Shweta Tiwari
I am not able to think of any query which can give me this result. I need help on this.
Thanks
Arun