SELECT
email,
COUNT(email) AS cnt
FROM
contacts
GROUP BY email
HAVING cnt > 1;
Find duplicate values in multiple columns:
SELECT
first_name, COUNT(first_name) as cnt_fn,
last_name, COUNT(last_name) as cnt_ln,
email, COUNT(email) as cnt_m
FROM
users
GROUP BY
first_name ,
last_name ,
email
HAVING cnt_fn > 1
AND cnt_ln > 1
AND cnt_m > 1;