HCLTech interview question

how to remove duplicate rows in table