Birdeye Interview Question

SQL query for duplicate(salary duplicate)