t-sql get duplicate rows
snippet in sql

t-sql get duplicate rows

user6474

SELECT [CaseNumber], COUNT(*) AS Occurrences
FROM [CaseCountry]
GROUP BY [CaseNumber]
HAVING (COUNT(*) > 1)