My table name is emails
.
My table structures looks like:
I want to remove all of the duplicated emails. I tried this query:
DELETE FROM emails WHERE email NOT IN (SELECT MIN(email)
FROM emails GROUP BY email)
But with no result. Can someone help me with this?