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
Stultiwikia
.
Toggle Highlighting
SQL
SET @revStart = (SELECT MIN(rev_id) FROM revision WHERE rev_timestamp >= 20210101000000 AND rev_timestamp <= 20220101000000); SET @revEnd = (SELECT MAX(rev_id) FROM revision WHERE rev_timestamp >= 20210101000000 AND rev_timestamp <= 20220101000000); SELECT COUNT(*) AS "Total", COUNT(IF `ct_tag_id` = 590 THEN 1 END) AS "Reverted" FROM `revisions` LEFT JOIN `change_tag` ON `ct_tag_id` = 590 AND `ct_rev_id` = `rev_id` WHERE rev_id >= @revStart AND rev_id <= @revEnd
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...