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
Rdrg109
.
Toggle Highlighting
SQL
-- Scalar subquery to get the account ID of SchlurcherBot. THus, we -- avoid having to use a JOIN statement afterwards between the tables -- "revision" and "actor" WITH choosen_actor_id AS ( SELECT actor_id FROM actor WHERE actor_name = 'SchlurcherBot' ), -- Get the revisions made by that account selected_revisions AS ( SELECT rev_id, rev_comment_id FROM revision WHERE rev_actor = (SELECT actor_id FROM choosen_actor_id) ) SELECT COUNT(*) AS count FROM selected_revisions
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...