I would like to know what are the differences between using:
SELECT email, COUNT( email ) AS total
FROM `newsletter`
GROUP BY email having total>1
or
SELECT count(*) as total, email
FROM 'newsletter'
GROUP BY email having total > 1
Both give same results but what else is counting count(*)
than the emails?