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
AdvikSh
.
Toggle Highlighting
SQL
USE enwiki_p; SELECT count(*) as total_revisions, sum(case when a.actor_name = "Waacstats" then 1 else 0 end) as self_revisions FROM page p LEFT JOIN revision r ON p.page_id = r.rev_page LEFT JOIN enwiki_p.comment c ON r.rev_comment_id = c.comment_id LEFT JOIN actor a ON r.rev_actor = a.actor_id WHERE page_namespace = 3 AND page_title = "Waacstats" ORDER BY r.rev_timestamp
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...