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
Zache
.
Toggle Highlighting
SQL
SELECT top_ip_reverts, total_ip_reverts, top_ip_reverts/total_ip_reverts FROM ( SELECT SUM(1) AS total_ip_reverts 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 rev_comment NOT LIKE concat("%", rev_user_text, "%") AND rev_timestamp > 20160000000000 ) AS total, ( SELECT SUM(page_reverts) AS top_ip_reverts FROM ( SELECT SUM(1) AS page_reverts, 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 rev_comment NOT LIKE concat("%", rev_user_text, "%") AND rev_timestamp > 20160000000000 GROUP BY page_id ORDER BY page_reverts DESC LIMIT 400 ) as page ) as top
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...