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
DannyS712
.
Toggle Highlighting
SQL
USE mediawikiwiki_p; SELECT ug.ug_group, u.user_name, gug.*, GROUP_CONCAT( ug2.ug_group ) FROM user_groups ug JOIN user u ON ug.ug_user = u.user_id JOIN centralauth_p.globaluser gu ON u.user_name = gu.gu_name JOIN centralauth_p.global_user_groups gug ON gu.gu_id = gug.gug_user JOIN user_groups ug2 ON ug2.ug_user = u.user_id WHERE ug.ug_group = 'autopatrolled' AND gug.gug_group = 'global-rollbacker' AND ug2.ug_group <> 'autopatrolled' LIMIT 100;
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...