Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

t-sql get duplicate rows

SELECT [CaseNumber], COUNT(*) AS Occurrences
FROM [CaseCountry]
GROUP BY [CaseNumber]
HAVING (COUNT(*) > 1)
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #duplicate #rows
ADD COMMENT
Topic
Name
7+8 =