Created
November 30, 2016 11:43
-
-
Save ahachete/dcda734ea2997d073ce1ddffec37a57e 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 repo.name_s, count(*) | |
FROM github.events AS events | |
INNER JOIN github.events_repo AS repo ON (events.did = repo.did) | |
INNER JOIN github.events_payload AS payload ON (events.did=payload.did) | |
WHERE events.type_s = 'IssuesEvent' AND payload.action_s = 'opened' | |
GROUP BY repo.name_s | |
ORDER BY count desc; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment