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
Aram
.
Toggle Highlighting
SQL
USE ckbwiki_p; SELECT actor_name AS Username, COUNT(*) AS NumberOfArticles, SUM(first_revisions.first_revision_bytes) AS TotalBytes, SUM(LENGTH(page_title)) AS TotalWords FROM page JOIN ( SELECT rev_page, MIN(rev_id) AS first_revision_id, SUM(LENGTH(old_text)) AS first_revision_bytes FROM revision JOIN page ON page_id = rev_page JOIN actor ON actor_id = rev_actor JOIN text ON rev_text_id = old_id WHERE rev_parent_id = 0 AND rev_timestamp BETWEEN '2023-01-01' AND '2023-05-01' AND page_namespace = 0 AND page_is_redirect = 0 GROUP BY rev_page ) AS first_revisions ON page_id = first_revisions.rev_page JOIN actor ON actor_id = first_revisions.first_revision_actor GROUP BY actor_name;
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...