In a [member] table, some rows have the same value for the email column.
email
login_id | email ---------|--------------------- john | john123@hot
Thanks guys :-) I used the below because I only cared about those two columns and not so much about the rest. Worked great
select email, login_id from table group by email, login_id having COUNT(email) > 1