Birdeye interview question

SQL query for duplicate(salary duplicate)