Let's say we have the following SQL query that returns duplicates of emails
SELECT email, COUNT(email)
FROM users
GROUP BY email
HAVING ( COUNT(email) > 1 )
In the case above, how can we actually delete those duplicate rows? or only one of the duplicates so they are no longer duplicates?