Fork of
Untitled query #73958
by Novem Linguae
This query is marked as a draft
This query has been published
by Certes.
SQL
AخA
SELECT user_name, ug_group, MAX(rev_timestamp) AS latest_edit
FROM user
JOIN user_groups ON user_id = ug_user
JOIN actor ON actor_user = user_id
LEFT JOIN revision ON rev_actor = actor_id
WHERE ug_group = 'patroller'
OR ug_group = 'autopatrolled'
GROUP BY user_name, ug_group
ORDER BY latest_edit DESC
By running queries you agree to the Cloud Services Terms of Use and you irrevocably agree to release your SQL under CC0 License.
All SQL code is licensed under CC0 License.