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
Bhargavi Vyshnavi
.
Identify the top 5 editors by total edits over each rolling 3-month period by number of edits on any wiki (te, hi etc.)
Toggle Highlighting
SQL
select actor_id, actor_name, count(distinct rev_id) as edits_count from actor join revision on rev_actor = actor_id where rev_timestamp >= DATE_FORMAT(DATE_SUB(CURRENT_DATE(), INTERVAL 2 MONTH), '%Y%m%01000000') group by actor_id, actor_name order by edits_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...