SELECT name, email, COUNT(*) as cnt FROM ins_mailing_list GROUP BY email HAVING COUNT(email) > 1 AND COUNT(name) > 1;
SELECT count_ip, referer_url, COUNT(*) as cnt FROM wave_count GROUP BY count_ip HAVING COUNT(count_ip) > 1 AND COUNT(referer_url) > 1 order by cnt DESC limit 100;
|