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
Obaid Raza
.
Toggle Highlighting
SQL
USE urwiki_p; SELECT user_name, SUM(CAST(rev.rev_len as signed) - CAST(COALESCE(parent.rev_len,0) as signed)) AS edits_bytes, COUNT(rev.rev_id) AS edit_count FROM urwiki_p.revision rev INNER JOIN user ON user_id = rev.rev_user LEFT OUTER JOIN revision parent ON rev.rev_parent_id = parent.rev_id JOIN page ON rev.rev_page = page_id WHERE page_namespace = 0 AND rev.rev_timestamp BETWEEN 20040401000000 AND 20220608000000 AND page_namespace = 0 AND user_name NOT REGEXP '[Bb]ot' GROUP BY user_name ORDER BY edits_bytes DESC;
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...