Created
March 22, 2013 14:00
-
-
Save aembleton/5221468 to your computer and use it in GitHub Desktop.
Find the frequency of email address domains from your email table.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
select substring_index(value, '@',-1) as email, count(*) as frequency FROM emailTable where name="EmailAddress" group by email order by frequency desc; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment