This query is marked as a draft This query has been published by Anomie.

SQL

x
 
SELECT ipb_id, ipb_address, ipb_timestamp, comment_text
 FROM ipblocks_ipindex LEFT JOIN `comment` ON(ipb_reason_id = comment_id)
 WHERE ipb_user = 0 AND ipb_timestamp < '20090101000000' AND ipb_expiry = 'infinity'
  AND ipb_range_start = ipb_range_end AND (IS_IPV4(ipb_address) OR IS_IPV6(ipb_address))
 ORDER BY ipb_id ASC;
By running queries you agree to the Cloud Services Terms of Use and you irrevocably agree to release your SQL under CC0 License.
All SQL code is licensed under CC0 License.

Checking query status...