Skip to content

Instantly share code, notes, and snippets.

@ahachete
Created November 30, 2016 11:44
Show Gist options
  • Save ahachete/19efcce2bd2d263fd1e66d24e8ac0522 to your computer and use it in GitHub Desktop.
Save ahachete/19efcce2bd2d263fd1e66d24e8ac0522 to your computer and use it in GitHub Desktop.
SELECT events.type_s, count(*)
FROM github.events AS events
JOIN github.events_actor AS actor ON (events.did = actor.did)
GROUP BY type_s
ORDER BY count DESC;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment