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
Huji
.
Toggle Highlighting
SQL
use fawiki_p; select u1.user_name blockee, u2.user_name blocker, replace('T', ' ', str_to_date(ipb_timestamp, '%Y%m%d%H%i%s')) blocktime, ipb_expiry, ipb_reason from ipblocks join user u1 on ipb_user = u1.user_id join user u2 on ipb_by = u2.user_id where ipb_user <> 0 and ipb_expiry not in ('infinity', 'indefinite') order by ipb_id;
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...