I want to fetch duplicate email from table:
userid email
-------------------------
1 abc@gmail.com
2 abcd@gmail.com
3 abc%40gmail.com
4 xyz@gmail.com
5 abcd%40gmail.com
So from above records i want result like
Email Count
-------------------------
abc@gmail.com 2
abcd@gmail.com 2
xyz@gmail.com 1
Does anybody know how to manage that?
Thanks.