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
Vexations
.
Toggle Highlighting
SQL
# reviewers who have edited a given article SELECT DISTINCT page_title, rev_user_text #, COUNT(rev_user_text) AS edits FROM `page` JOIN `pagetriage_page` ON page_id = ptrp_page_id JOIN `revision_userindex` ON rev_page = page_id WHERE ptrp_reviewed = 0 AND ptrp_created BETWEEN (NOW() - INTERVAL 90 DAY) AND (NOW() - INTERVAL 60 DAY) AND rev_timestamp BETWEEN (NOW() - INTERVAL 90 DAY) AND NOW() AND page_namespace = 0 AND rev_user IN ( SELECT ug_user FROM `user_groups` WHERE ug_group = 'patroller' ) #GROUP BY page_title #HAVING ug_group = 'patroller' #ORDER BY COUNT(rev_user)
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...