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
The Polish
.
Toggle Highlighting
SQL
USE plwiki_p; (SELECT month, page_namespace, page_title, edits FROM ( SELECT LEFT(rev_timestamp, 6) AS month, rev_page, COUNT(*) AS edits FROM revision WHERE rev_timestamp BETWEEN "201601" AND "201602" GROUP BY month, rev_page ORDER BY edits DESC LIMIT 500 ) AS top_page_edits INNER JOIN page ON rev_page = page_id WHERE page_namespace = 0 ORDER BY page_namespace, edits DESC LIMIT 20) UNION ALL (SELECT month, page_namespace, page_title, edits FROM ( SELECT LEFT(rev_timestamp, 6) AS month, rev_page, COUNT(*) AS edits FROM revision WHERE rev_timestamp BETWEEN "201602" AND "201603" GROUP BY month, rev_page ORDER BY edits DESC LIMIT 500 ) AS top_page_edits INNER JOIN page ON rev_page = page_id WHERE page_namespace = 0 ORDER BY page_namespace, edits DESC LIMIT 20) UNION ALL (SELECT month, page_namespace, page_title, edits FROM ( SELECT LEFT(rev_timestamp, 6) AS month, rev_page, COUNT(*) AS edits FROM revision WHERE rev_timestamp BETWEEN "201603" AND "201604" GROUP BY month, rev_page ORDER BY edits DESC LIMIT 500 ) AS top_page_edits INNER JOIN page ON rev_page = page_id WHERE page_namespace = 0 ORDER BY page_namespace, edits DESC LIMIT 20) UNION ALL (SELECT month, page_namespace, page_title, edits FROM ( SELECT LEFT(rev_timestamp, 6) AS month, rev_page, COUNT(*) AS edits FROM revision WHERE rev_timestamp BETWEEN "201604" AND "201605" GROUP BY month, rev_page ORDER BY edits DESC LIMIT 500 ) AS top_page_edits INNER JOIN page ON rev_page = page_id WHERE page_namespace = 0 ORDER BY page_namespace, edits DESC LIMIT 20) UNION ALL (SELECT month, page_namespace, page_title, edits FROM ( SELECT LEFT(rev_timestamp, 6) AS month, rev_page, COUNT(*) AS edits FROM revision WHERE rev_timestamp BETWEEN "201605" AND "201606" GROUP BY month, rev_page ORDER BY edits DESC LIMIT 500 ) AS top_page_edits INNER JOIN page ON rev_page = page_id WHERE page_namespace = 0 ORDER BY page_namespace, edits DESC LIMIT 20) UNION ALL (SELECT month, page_namespace, page_title, edits FROM ( SELECT LEFT(rev_timestamp, 6) AS month, rev_page, COUNT(*) AS edits FROM revision WHERE rev_timestamp BETWEEN "201606" AND "201607" GROUP BY month, rev_page ORDER BY edits DESC LIMIT 500 ) AS top_page_edits INNER JOIN page ON rev_page = page_id WHERE page_namespace = 0 ORDER BY page_namespace, edits DESC LIMIT 20) UNION ALL (SELECT month, page_namespace, page_title, edits FROM ( SELECT LEFT(rev_timestamp, 6) AS month, rev_page, COUNT(*) AS edits FROM revision WHERE rev_timestamp BETWEEN "201607" AND "201608" GROUP BY month, rev_page ORDER BY edits DESC LIMIT 500 ) AS top_page_edits INNER JOIN page ON rev_page = page_id WHERE page_namespace = 0 ORDER BY page_namespace, edits DE25SC LIMIT 20) UNION ALL (SELECT month, page_namespace, page_title, edits FROM ( SELECT LEFT(rev_timestamp, 6) AS month, rev_page, COUNT(*) AS edits FROM revision WHERE rev_timestamp BETWEEN "201608" AND "201609" GROUP BY month, rev_page ORDER BY edits DESC LIMIT 500 ) AS top_page_edits INNER JOIN page ON rev_page = page_id WHERE page_namespace = 0 ORDER BY page_namespace, edits DESC LIMIT 20) UNION ALL (SELECT month, page_namespace, page_title, edits FROM ( SELECT LEFT(rev_timestamp, 6) AS month, rev_page, COUNT(*) AS edits FROM revision WHERE rev_timestamp BETWEEN "201609" AND "201610" GROUP BY month, rev_page ORDER BY edits DESC LIMIT 500 ) AS top_page_edits INNER JOIN page ON rev_page = page_id WHERE page_namespace = 0 ORDER BY page_namespace, edits DESC LIMIT 20) UNION ALL (SELECT month, page_namespace, page_title, edits FROM ( SELECT LEFT(rev_timestamp, 6) AS month, rev_page, COUNT(*) AS edits FROM revision WHERE rev_timestamp BETWEEN "201610" AND "201611" GROUP BY month, rev_page ORDER BY edits DESC LIMIT 500 ) AS top_page_edits INNER JOIN page ON rev_page = page_id WHERE page_namespace = 0 ORDER BY page_namespace, edits DESC LIMIT 20) UNION ALL (SELECT month, page_namespace, page_title, edits FROM ( SELECT LEFT(rev_timestamp, 6) AS month, rev_page, COUNT(*) AS edits FROM revision WHERE rev_timestamp BETWEEN "201611" AND "201612" GROUP BY month, rev_page ORDER BY edits DESC LIMIT 500 ) AS top_page_edits INNER JOIN page ON rev_page = page_id WHERE page_namespace = 0 ORDER BY page_namespace, edits DESC LIMIT 20) UNION ALL (SELECT month, page_namespace, page_title, edits FROM ( SELECT LEFT(rev_timestamp, 6) AS month, rev_page, COUNT(*) AS edits FROM revision WHERE rev_timestamp BETWEEN "201612" AND "201701" GROUP BY month, rev_page ORDER BY edits DESC LIMIT 500 ) AS top_page_edits INNER JOIN page ON rev_page = page_id WHERE page_namespace = 0 ORDER BY page_namespace, edits DESC LIMIT 20);
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...