Patrianna Interview Question

sql task - find the duplicates in table