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 ( "Bennylin", "Darafsh", "Eugene233", "Aboubacarkhoraa", "DaSupremo", "Dnshitobu", "Ruky Wunpini", "Yakubu Fadilatu", "Mahuta", "Macocobovi", "Sir Amugi", "Azogbonon", "Ferdinand IF99", "Micheal Kaluba", "Lebron jay", "A Sulaiman Z", "Ngangaesther", "Annick green" ) AND rev_timestamp BETWEEN 20120301000000 AND 20240830235959 # from March 1, 2012 00:00:00 UTC to August 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...