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
SELECT l.* FROM centralauth.localuser AS l INNER JOIN (SELECT gu_name from centralauth.globaluser WHERE gu_locked=1) AS g ON l.lu_name = g.gu_name INNER JOIN (SELECT DISTINCT REPLACE(logging.log_title,'@global','') AS lu_name FROM metawiki.logging LEFT JOIN metawiki.comment ON logging.log_comment_id=comment.comment_id WHERE log_type='globalauth' AND log_action='setstatus' AND comment_text LIKE '%pambot%' ORDER BY logging.log_timestamp DESC) AS m ON l.lu_name = m.lu_name
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...