Created
December 20, 2016 17:16
-
-
Save adamwight/143df080993f654eae5f3fa8786d1857 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
create table awight_meta_edit_counts | |
select | |
u.username, | |
left(r.rev_timestamp, 6), | |
count(*) | |
from metawiki.revision r | |
join awight_meta_wmf_accounts u | |
on r.rev_user_text=u.username | |
group by 1,2; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment