I want to pull out duplicate records in a MySQL Database. This can be done with:
SELECT address, count(id) as cnt FROM list GROUP BY address HAVING cnt >
Isn't this easier :
SELECT * FROM tc_tariff_groups GROUP BY group_id HAVING COUNT(group_id) >1
?