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
Masssly
.
This query will group the edits by user and by month, giving you a count of edits for each user for each month from March 1, 2012 00:00:00 UTC to August 30, 2024 23:59:59 UTC.
Toggle Highlighting
SQL
SELECT actor_name, DATE_FORMAT(FROM_UNIXTIME(UNIX_TIMESTAMP(rev_timestamp)), '%Y-%m') AS month, COUNT(*) AS edits FROM wikidatawiki_p.revision_userindex r JOIN wikidatawiki_p.actor a ON r.rev_actor = a.actor_id JOIN wikidatawiki_p.page p ON r.rev_page = p.page_id WHERE actor_name IN ( "Masssly", "Hannah Nyame", "FZ007", "KBoateng77", "Raby2020", "Halimzylat", "Nana Akua Adobea" ) AND rev_timestamp BETWEEN 20200701000000 AND 20240930235959 # from July 1, 2020 00:00:00 UTC to September 30, 2024 23:59:59 UTC AND page_namespace IN (0, 118) # Main and Draft GROUP BY actor_name, month ORDER BY actor_name, month;
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...