SELECT Id,Name, COUNT(*) as DupeCount
FROM EmployeData
GROUP BY Id,Name
HAVING COUNT(*) > 1 Order By Id
|
After run above query we will get each record duplicate count that would be like this
Sign up here with your email
.Net tips,.Net Interview Tips,Sql Server,Jquery,Javascript notes,AngularJS,Asp.net,Ajax
ConversionConversion EmoticonEmoticon