Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

select rows with same value in a column

SELECT email,
       count(*) AS c
FROM TABLE
GROUP BY email
HAVING c > 1
ORDER BY c DESC
 
PREVIOUS NEXT
Tagged: #select #rows #column
ADD COMMENT
Topic
Name
3+3 =