Can I get the count results for particular field from table. for example im using this query,
select id,retailer,email from tab
i got the result set,
1 ret1 test1@test.com
2 ret2 test1@test.com
3 ret3 test1@test.com
4 ret1 test2@test.com
5 ret2 test2@test.com
6 ret6 test2@test.com
What I need is count of (test1@test.com) as 3 times like wise. thanks.
This will give you the count of all email addresses in that table:
If you want to get only one particular one count use this: