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
Ratekreel
.
Toggle Highlighting
SQL
USE commonswiki_p; SELECT CASE WHEN ug_group = 'sysop' THEN 'Administrator' WHEN ug_group = 'image-reviewer' THEN 'License Reviewer' ELSE 'Other' END AS user_type, actor_name AS user, COUNT(recentchanges.rc_id) AS actions_count FROM recentchanges JOIN actor ON recentchanges.rc_actor = actor.actor_id INNER JOIN ( SELECT ug_user, ug_group FROM user_groups WHERE ug_group IN ('sysop', 'image-reviewer') ) AS ug ON actor.actor_user = ug.ug_user WHERE recentchanges.rc_namespace = 6 AND ( recentchanges.rc_comment LIKE '%icense review%' OR recentchanges.rc_comment LIKE '%LR passed%' OR recentchanges.rc_comment LIKE '%: passed%' ) GROUP BY user_type, user ORDER BY user_type, actions_count DESC; LIMIT 500;
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...