UWorld interview question

There is a table with duplicate records, how do you delete duplicates. Write a query