Skip to content

Instantly share code, notes, and snippets.

@adamrneary
Created April 20, 2013 15:59
Show Gist options
  • Save adamrneary/5426438 to your computer and use it in GitHub Desktop.
Save adamrneary/5426438 to your computer and use it in GitHub Desktop.
select firstMonth, count(*) as cnt
from (
SELECT actor, min(LEFT(created_at, 7)) as firstMonth
FROM [githubarchive:github.timeline]
GROUP BY actor
)
group by firstMonth
order by firstMonth
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment