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
CosmosAway
.
Toggle Highlighting
SQL
use trwiki_p; SELECT madde, all_revert_c, all_revert_d FROM ( SELECT SUM(1) AS all_revert_d, SUM(rev_c) AS all_revert_c, concat("[[",replace(page_title,"_"," "),"]]") as madde FROM ( SELECT SUM(1) AS rev_c, floor(rev_timestamp/1000000) as rev_d, page_title, rev_page FROM revision, page WHERE rev_page=page_id AND page_namespace=0 AND rev_comment REGEXP "(ontributions|uokkaukset)/[0-9A-F]{1,4}[.:][0-9A-F]{1,4}[.:]" AND NOT (rev_user=0 AND rev_comment LIKE concat("%", rev_user_text, "%")) GROUP BY rev_page, rev_d ) AS tmp LEFT JOIN ( SELECT sum(1) as all_ec, rev_page FROM revision_userindex WHERE rev_user=0 GROUP BY rev_page ) AS ec ON tmp.rev_page=ec.rev_page GROUP BY tmp.rev_page ) AS rev_all ORDER BY all_revert_d DESC LIMIT 250
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...