Created
May 14, 2012 15:07
-
-
Save satojkovic/2694482 to your computer and use it in GitHub Desktop.
Github Data Challenge Example2
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
/* top 100 owners for Ruby by number of creates */ | |
SELECT repository_owner, count(repository_owner) as creates | |
FROM [githubarchive:github.timeline] | |
WHERE type="CreateEvent" | |
AND repository_language="Ruby" | |
AND PARSE_UTC_USEC(created_at) >= PARSE_UTC_USEC('2012-05-01 00:00:00') | |
GROUP BY repository_owner | |
ORDER BY creates DESC | |
LIMIT 100 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment