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
DMaza (WMF)
.
Toggle Highlighting
SQL
SELECT log_params, log_user_text as blocker, log_title as blockee, DATE_FORMAT( log_timestamp, '%Y-%m-%d') as date, comment_text as reason FROM testwiki_p.logging_logindex l LEFT JOIN comment on comment_id = log_comment_id WHERE log_type = 'block' AND log_params like '%"sitewide";b:0;%' AND DATE_FORMAT( log_timestamp, '%Y%m%d') BETWEEN DATE_FORMAT(CURRENT_DATE - INTERVAL 30 DAY, '%Y%m%d') AND DATE_FORMAT(CURRENT_DATE, '%Y%m%d')
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...