Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

Selecting duplicates

SELECT 
 user_id ,
 COUNT(*) count
FROM 
 PAYMENT
GROUP BY
 account,
 user_id ,
 date
HAVING
COUNT(*) > 1
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #Selecting #duplicates
ADD COMMENT
Topic
Name
1+9 =