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
WhitePhosphorus
.
Toggle Highlighting
SQL
SELECT COUNT(DISTINCT ufg.ufg_user) FROM user_former_groups AS ufg LEFT JOIN user_groups AS ug ON ufg.ufg_user = ug.ug_user WHERE ufg.ufg_group = 'ipblock-exempt' AND NOT EXISTS ( SELECT 1 FROM user_groups AS ug2 WHERE ug2.ug_user = ufg.ufg_user AND ug2.ug_group IN ('sysop', 'abusefilter', 'abusefilter-helper', 'templateeditor', 'accountcreator', 'zbureaucrat', 'checkuser', 'eventcoordinator', 'import', 'massmessage-sender', 'oversight', 'transwiki', 'extendedmover', 'patroller', 'interface-admin', 'researcher', 'ipblock-exempt', 'zfilemover') );
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...