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
SELECT user_name, CASE WHEN ug.ug_group = 'extendedmover' THEN 'page mover' WHEN ug.ug_group = 'filemover' THEN 'file mover' ELSE 'error' END AS 'Group' FROM user_groups ug JOIN user ON ug.ug_user = user_id #WHERE user_name = 'DannyS712' WHERE ug.ug_group IN ('extendedmover', 'filemover') AND NOT EXISTS ( SELECT 1 FROM user_groups ug2 WHERE ug2.ug_user = ug.ug_user AND ug2.ug_group IN ('extendedmover', 'filemover') AND ug2.ug_group <> ug.ug_group ) #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...