how to find the duplicate records from the table