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
MarioGom
.
Toggle Highlighting
SQL
SET STATEMENT max_statement_time = 30 FOR SELECT ip24, c FROM ( SELECT CONCAT(ip24, '.0/24') AS ip24, COUNT(*) AS c FROM ( SELECT DISTINCT CAST(rc_timestamp AS DATE) AS day, REGEXP_REPLACE(actor_name, '\.[0-9]+$', '') AS ip24 FROM recentchanges_userindex AS recentchanges INNER JOIN change_tag ON recentchanges.rc_id = change_tag.ct_rc_id INNER JOIN change_tag_def ON change_tag.ct_tag_id = change_tag_def.ctd_id INNER JOIN actor_recentchanges AS actor ON recentchanges.rc_actor = actor.actor_id WHERE TRUE AND rc_namespace = 0 -- main namespace AND rc_bot = 0 -- no bots AND change_tag_def.ctd_name = 'mw-reverted' AND actor_user IS NULL -- exclude registered users AND actor_name NOT LIKE '%:%' -- exclude IPv6 ) AS q1 GROUP BY ip24 ) AS q2 WHERE c >= 2 ORDER BY c DESC
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...