Fork of
Desde "ahí" al mundo...
by Superzerocool
This query is marked as a draft
This query has been published
by Superzerocool.
SQL
AخA
use eswiki_p;
SELECT rev_id, page_title, actor_name, rev_timestamp from revision
inner join actor on rev_actor = actor_id
inner join page on rev_page = page_id
where actor_user is null
and (
-- altos
INET_ATON(actor_name) between INET_ATON('181.30.1.32') and INET_ATON('181.30.1.47') OR -- 181.30.1.32/28
INET_ATON(actor_name) between INET_ATON('200.69.138.112') and INET_ATON('200.69.138.127') OR -- 200.69.138.112/28
-- bajitos
INET_ATON(actor_name) between INET_ATON('45.230.20.0') and INET_ATON('45.230.20.255') OR -- 45.230.20.0/24
INET_ATON(actor_name) between INET_ATON('186.33.210.0') and INET_ATON('186.33.210.128') OR -- 186.33.210.0/25
INET_ATON(actor_name) between INET_ATON('190.221.190.0') and INET_ATON('190.221.190.255') -- 190.221.190.0/24
)
and year(rev_timestamp) >= 2017;
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.