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
Pablo (WMF)
.
Toggle Highlighting
SQL
with current_admins as ( SELECT DISTINCT u.user_name FROM user_groups ug left join user u on ug.ug_user=u.user_id where ug_group='bureaucrat' OR ug_group='sysop') SELECT * FROM logging WHERE log_type='rights'AND (log_params LIKE '%bureaucrat%' OR log_params LIKE '%sysop%') AND NOT log_title in (select user_name from current_admins) ORDER BY log_timestamp DESC
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...