SELECT MobileNumber, COUNT(*) TotalCount
FROM EmployeeRecords
GROUP BY MobileNumber
HAVING COUNT(*) > 1
ORDER BY COUNT(*) DESCthis query helps you to find duplicate records from column
this query helps you to find duplicate records from column
SELECT MobileNumber, COUNT(*) TotalCount
FROM EmployeeRecords
GROUP BY MobileNumber
HAVING COUNT(*) > 1
ORDER BY COUNT(*) DESC