I want to search for duplicate entries from a db with around 10,000 and want to do so with less stress on the db. Is this the most sufficient way to pull duplicate entries from a column?
SELECT distinct a.email, a.id
FROM `base` a JOIN `base` b
ON (a.email=b.email AND a.id <> b.id )
ORDER BY email ASC