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
A smart kitten
.
Toggle Highlighting
SQL
-- select * from logging -- /*inner join user on user_name = REPLACE(log_title, '_', ' ')*/ -- left join block_target on /*bt_user = user_id*/ bt_user_text = replace(log_title, '_', ' ') -- where log_type = 'block' -- and log_action regexp '^(re)?block$' -- order by log_timestamp desc -- limit 5; select * from block_target right join ( select * from logging where log_type = 'block' and log_action regexp '^(re)?block$' order by log_timestamp desc limit 500 ) on bt_user_text = replace(log_title, '_', ' ');
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...