Toggle navigation
Home
New Query
Recent Queries
Discuss
Database tables
Database names
MediaWiki
Wikibase
Replicas browser and optimizer
Login
History
Fork
Fork of
اردو ویکی صارفین بلحاظ بائٹس (مرکزی نام فضا، اکتوبر 2018ء)
by
Obaid Raza
This query is marked as a draft
This query has been published
by
Yethrosh
.
Toggle Highlighting
SQL
USE urwiki_p; SELECT CONCAT("#") as number, CONCAT("[[user:",actor_name,"|",actor_name,"]]") AS user, SUM(CAST(rev.rev_len as signed)-CAST(parent.rev_len as signed)) AS byte_count, COUNT(rev.rev_id) as edit_count FROM actor JOIN revision rev ON actor_id = rev.rev_actor JOIN revision parent ON rev.rev_parent_id = parent.rev_id JOIN page ON page_id = parent.rev_page WHERE page_namespace = 0 AND rev.rev_timestamp >= 20040101000000 AND rev.rev_timestamp <= 20181231235959 AND parent.rev_timestamp <= 20181231235959 AND actor_name NOT IN ( SELECT ug_group FROM user_groups WHERE ug_group <> "bot") GROUP BY actor_name ORDER BY byte_count DESC LIMIT 5;
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...