Toggle navigation
Home
New Query
Recent Queries
Discuss
Database tables
Database names
MediaWiki
Wikibase
Replicas browser and optimizer
Login
History
Fork
Fork of
active enwiki IP blocks by duration in months
by
Tamzin
This query is marked as a draft
This query has been published
by
Tamzin
.
Toggle Highlighting
SQL
SELECT ipb_address, TIMESTAMPDIFF(MONTH, ipb_timestamp, ipb_expiry) AS $duration, ipb_expiry, ipb_timestamp, ipb_anon_only FROM ipblocks WHERE ipb_user = 0 -- IP AND ipb_sitewide = 1 AND ipb_expiry != 'infinity' ORDER BY 2 DESC, 5 ASC
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...