Created
February 14, 2021 19:20
-
-
Save patrickdevivo/3514f0e0fa175f2106b655fec0348815 to your computer and use it in GitHub Desktop.
This file contains 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 | |
count(*), | |
substr(author_email, instr(author_email, '@')+1) AS email_domain -- https://sqlite.org/lang_corefunc.html | |
FROM commits | |
WHERE parent_count < 2 -- ignore merge commits | |
GROUP BY email_domain | |
ORDER BY count(*) DESC |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment