HI WELCOME TO KANSIRIS

Finding duplicate values in a SQL table

Leave a Comment
SELECT
    name, email, COUNT(*)
FROM
    users
GROUP BY
    name, email
HAVING 
    COUNT(*) > 1

0 comments:

Post a Comment

Note: only a member of this blog may post a comment.