Skip to content

Instantly share code, notes, and snippets.

@adamrneary
Last active December 16, 2015 11:18
Show Gist options
  • Save adamrneary/5426429 to your computer and use it in GitHub Desktop.
Save adamrneary/5426429 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.2011]
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