I done in that way:
SELECT * FROM (
SELECT DISTINCT (u2.email) email FROM `users` u1 LEFT JOIN
users u2 ON u1.email = u2.email AND u1.id <> u2.id
)users WHERE email IS NOT NULL
Is there a contract formula?
Use an INNER JOIN if you don’t want NULL results.
If you must use a LEFT JOIN: