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
BilledMammal
.
Toggle Highlighting
SQL
SELECT LEFT(rev_timestamp,6) AS Month, SUM(CASE WHEN page_namespace = 0 THEN 1 ELSE 0 END) AS Mainspace, SUM(CASE WHEN page_namespace = 1 THEN 1 ELSE 0 END) AS Talk, SUM(CASE WHEN page_namespace = 2 THEN 1 ELSE 0 END) AS "User", SUM(CASE WHEN page_namespace = 3 THEN 1 ELSE 0 END) AS "User talk", SUM(CASE WHEN page_namespace = 4 THEN 1 ELSE 0 END) AS Wikipedia, SUM(CASE WHEN page_namespace = 5 THEN 1 ELSE 0 END) AS "Wikipedia Talk" FROM revision JOIN page ON rev_page = page_id WHERE rev_actor = (SELECT actor_id FROM actor WHERE actor_name = "BilledMammal") GROUP BY Month ORDER BY Month 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...