Write a query to fetch duplicate records from a table using MySQL?
SELECT EmpId, Project, Salary, COUNT(*) FROM EmployeeSalary GROUP BY EmpId, Project, Salary HAVING COUNT(*) > 1;
BY Best Interview Question ON 04 Mar 2022