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
Ahmad Kanik
.
Toggle Highlighting
SQL
SELECT DATE_FORMAT(rev_timestamp, "%H") AS hour, COUNT(rev_timestamp) AS revisions FROM revision WHERE rev_timestamp > 20210101000000 GROUP BY hour DESC; -- %Y-%m-%d SELECT actor_name as user, COUNT(*) as cnt FROM revision JOIN change_tag ON rev_id = ct_rev_id JOIN actor ON actor_id = rev_actor WHERE ct_tag_id = (SELECT ctd_id FROM change_tag_def WHERE ctd_name = 'mw-rollback') AND rev_timestamp > 20170101000000 AND rev_timestamp < 20180101000000 GROUP BY user ORDER BY cnt DESC LIMIT 100;
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...