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
Cabayi
.
Toggle Highlighting
SQL
SELECT u.user_name, ufg.ufg_user, ufg.ufg_group FROM user_former_groups ufg, user u WHERE ufg.ufg_group = 'patroller' AND u.user_id = ufg.ufg_user AND NOT EXISTS (SELECT 'x' FROM user_groups ug WHERE ug.ug_user = u.user_id AND ( ug.ug_group = 'sysop' OR ug.ug_group = 'patroller' )) AND NOT EXISTS (SELECT 'x' FROM ipblocks i WHERE i.ipb_user = u.user_id)
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...