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_date,6) AS Month, SUM(CASE rev_namespace = 0 THEN 1 ELSE 0 END) AS Mainspace, SUM(CASE rev_namespace = 1 THEN 1 ELSE 0 END) AS Talk, SUM(CASE rev_namespace = 2 THEN 1 ELSE 0 END) AS "User", SUM(CASE rev_namespace = 3 THEN 1 ELSE 0 END) AS "User talk", SUM(CASE rev_namespace = 4 THEN 1 ELSE 0 END) AS Wikipedia, SUM(CASE rev_namespace = 5 THEN 1 ELSE 0 END) AS "Wikipedia Talk" FROM revision 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...