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
Cryptic
.
Users with the patroller right who have no enwiki edits since 2021 August 25, and their most recent edit (if any). Compare query #16652; in particular, MAX(rev_timestamp) seems to break the index. For [[WP:RAQ#For NPP]] circa 20 Aug 2022.
Toggle Highlighting
SQL
SELECT * FROM ( SELECT user_name, (SELECT rev_timestamp FROM revision_userindex WHERE rev_actor = actor_id ORDER BY rev_timestamp DESC LIMIT 1) AS last_edit FROM user_groups JOIN user ON user_id = ug_user LEFT JOIN actor_revision ON actor_user = user_id WHERE ug_group = 'patroller' ) sq WHERE COALESCE(last_edit, 0) <= '20210825';
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...