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 *, ipb_address, ipb_by_text, str_to_date(left(ipb_timestamp, 8), '%Y%m%d'), str_to_date(left(ipb_expiry, 8), '%Y%m%d'), ipb_reason from ipblocks where ipb_expiry > date_format(date_add(now(),interval 2 year),'%y%m%d%h%i%s') and ipb_expiry <> 'infinity' and ipb_user = 0
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...