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
BilledMammal
.
Toggle Highlighting
SQL
WITH excluded_pages AS (SELECT cl_from FROM categorylinks WHERE cl_to IN ("All_article_disambiguation_pages", "Temporary_maintenance_holdings", "Redirects_to_Wiktionary", "Surnames", "Given_names") ), all_revisions AS (SELECT * FROM revision JOIN page on page_id = rev_page JOIN actor_revision ON actor_id = rev_actor LEFT JOIN excluded_pages ON page_id = cl_from AND cl_from IS NULL AND page_namespace = 0 AND rev_timestamp >= '2018' AND rev_timestamp < '2019' AND page_is_redirect = 0 ), article_creations AS (SELECT * FROM all_revisions WHERE rev_parent_id = 0 ), editor_contributions AS (SELECT actor_name, page_title, sum(rev_len) AS contributions, rev_parent_id FROM all_revisions GROUP BY rev_page, rev_actor ) SELECT * FROM editor_contributions
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...