In this example I can explain you how to delete duplicate record in a table using ROWID.
Step 1: Table Script
Step 2: Insert Statement
The above query return Count of records stored in the EMP_DTLS table. All the records have duplicate record except WRK department employee record.
Step 4: How to select and delete duplicate record in a table.
* Query to find which record is going to be delete.
Final Output
Arumai
ReplyDeleteThanks thambi
Delete