Toggle navigation
Home
New Query
Recent Queries
Discuss
Database tables
Database names
MediaWiki
Wikibase
Replicas browser and optimizer
Login
History
Fork
Fork of
Long-term IP blocks that expire soon
by
XXBlackburnXx
This query is marked as a draft
This query has been published
by
XXBlackburnXx
.
Toggle Highlighting
SQL
SELECT ipb_address, ipb_timestamp, ipb_expiry, comment_text FROM ipblocks, comment WHERE ipb_reason_id = comment_id AND ipb_user IS NULL AND ipb_expiry != 'infinity' AND ipb_expiry <= DATE_ADD(NOW(), INTERVAL 3 MONTH) AND TIMESTAMPDIFF(MONTH, ipb_timestamp, ipb_expiry) > 6 ORDER BY ipb_expiry 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...