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 rev_actor, COUNT(DISTINCT rev_id) AS edit_count FROM revision WHERE rev_timestamp >= DATE_SUB(DATE_FORMAT(CURRENT_DATE(), "%Y-%m-01") , INTERVAL 2 MONTH) GROUP BY rev_actor ORDER BY COUNT(DISTINCT rev_id) 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...