Toggle navigation
Home
New Query
Recent Queries
Discuss
Database tables
Database names
MediaWiki
Wikibase
Replicas browser and optimizer
Login
History
Fork
Fork of
Ainz Ooal Gown edits in Commons:
by
AntiCompositeNumber
This query is marked as a draft
This query has been published
by
AntiCompositeNumber
.
Toggle Highlighting
SQL
USE commonswiki_p; WITH s AS ( SELECT LEFT(rev_timestamp, 6) as month, page_title LIKE "Deletion_requests/%" as `dr_page`, COUNT(*) as `num` FROM revision_userindex JOIN page ON rev_page = page_id WHERE rev_actor = (SELECT actor_id FROM actor_revision WHERE actor_name = "Ainz Ooal Gown") AND page_namespace = 4 GROUP BY LEFT(rev_timestamp, 6), page_title LIKE "Deletion_requests/%" ) SELECT other.month, drs.num, other.num, drs.num/other.num*100 FROM (SELECT * FROM s WHERE s.dr_page = 0) other JOIN (SELECT * FROM s WHERE s.dr_page = 1) drs ON other.month = drs.month
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...