Toggle navigation
Home
New Query
Recent Queries
Discuss
Database tables
Database names
MediaWiki
Wikibase
Replicas browser and optimizer
Login
History
Fork
Fork of
Revert statistics in Czech Wikipedia
by
Matěj Suchánek
This query is marked as a draft
This query has been published
by
MrJaroslavik
.
Toggle Highlighting
SQL
USE cswiki_p; SELECT LEFT(rev_timestamp, 6) AS month, COUNT(*) AS number FROM revision, page WHERE rev_timestamp > 20190000000000 AND page_id = rev_page AND page_namespace = 0 AND ( rev_comment LIKE "% do předchozího stavu, jehož autorem je %" OR ( rev_comment LIKE "Verze %" AND rev_comment LIKE "% uživatele %" AND rev_comment LIKE "% zrušena%" ) OR (rev_comment LIKE "Revert%" AND rev_comment LIKE "%TW%") ) GROUP BY LEFT(rev_timestamp, 6) ORDER BY month DESC; SELECT LEFT(rev_timestamp, 4) AS year, COUNT(*) AS number FROM revision, page WHERE page_id = rev_page AND page_namespace = 0 AND ( rev_comment LIKE "% do předchozího stavu, jehož autorem je%" OR ( rev_comment LIKE "Verze %" AND rev_comment LIKE "% uživatele %" AND rev_comment LIKE "% zrušena%" ) OR (rev_comment LIKE "Revert%" AND rev_comment LIKE "%TW%") ) GROUP BY LEFT(rev_timestamp, 4) ORDER BY year DESC;
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...