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)
 
PREVIOUS NEXT
Tagged: #duplicate #rows
ADD COMMENT
Topic
Name
1+1 =