Birlasoft Interview Question

Sql query to remove duplicat records?