Toggle navigation
Home
New Query
Recent Queries
Discuss
Database tables
Database names
MediaWiki
Wikibase
Replicas browser and optimizer
Login
History
Fork
This query is marked as a draft
This query has been published
by
Huji
.
Toggle Highlighting
SQL
use fawiki_p; select rev_user_text, /*rev_year,*/ sum(rev_id) / (1024 * 1024) content_added from ( select new.rev_id, substr(new.rev_timestamp, 1, 4) rev_year, new.rev_user_text, case when new.rev_len > old.rev_len then new.rev_len - old.rev_len else null end expansion from revision new join revision old on old.rev_id = new.rev_parent_id join page on new.rev_page = page_id where page_namespace = 0 and new.rev_user_text in ( select rev_user_text from ( select rev_user_text, count(*) from revision group by rev_user_text having count(*) > 15000 order by 2 desc ) users_by_edits ) top_editors ) exp group by rev_user_text /*, rev_year*/
By running queries you agree to the
Cloud Services Terms of Use
and you irrevocably agree to release your SQL under
CC0 License
.
Submit Query
Stop Query
All SQL code is licensed under
CC0 License
.
Checking query status...