Best database practice is to have a unique constraint such as a primary key on tables to prevent duplicate records, but there are some situations in which we may found ourselves working on a dataset with duplicate records and we may also need to remove or delete those records when needed.
There are many ways using which we can find duplicate records, the best approach is to find the duplicate records using ROWID.
Below is the SQL query to find and delete the duplicate records.