Icertis Interview Question

Remove duplicates from the table.