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
RiazACU
.
Toggle Highlighting
SQL
SELECT user_id, user_name, GROUP_CONCAT(ug_group SEPARATOR ",") AS user_groups FROM user LEFT JOIN actor ON user_id = actor_user INNER JOIN user_groups ON user_id = ug_user AND ug_group IN ('patroller', 'reviewer') GROUP BY user_id HAVING user_groups LIKE '%reviewer%' AND user_groups NOT LIKE '%patroller%' ORDER BY user_name
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...