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
FoBe
.
Toggle Highlighting
SQL
SELECT COUNT(DISTINCT rev_id) as "# pending revisions by users with autoreview right" FROM revision INNER JOIN flaggedpage_pending ON fpp_rev_id = rev_id INNER JOIN actor ON actor_id = rev_actor LEFT OUTER JOIN user_groups ON ug_user = actor_user WHERE ug_group IN ('editor','trusted','sysop','bot'); SELECT COUNT(*) as "# pending revisions" FROM flaggedpage_pending SELECT COUNT(DISTINCT page_id) as "# pages with pending revisions" FROM page INNER JOIN flaggedpage_pending ON fpp_page_id = page_id
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...