Capgemini interview question

Write an sql query for deleting duplicate rows