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
Peter Bowman
.
Toggle Highlighting
SQL
USE plwiktionary_p; -- http://www.analyticsmarket.com/freetools/ipregex SET @IP_REGEX = "5\\.172\\.246\\.([0-9]|[1-9][0-9]|1([0-9][0-9])|2([0-4][0-9]|5[0-5]))"; -- Ediciones de usuarios anónimos y su respectivo timestamp SELECT rev_user_text AS "IP", rev_timestamp "timestamp" FROM revision WHERE rev_user = 0 AND rev_user_text RLIKE @IP_REGEX ORDER BY rev_timestamp LIMIT 100 ; -- Número de ediciones por cada usuario anónimo encontrado SELECT IFNULL(rev_user_text, "Total") AS "IP", COUNT(rev_timestamp) AS "edit count" FROM revision WHERE rev_user = 0 AND rev_user_text RLIKE @IP_REGEX GROUP BY rev_user_text WITH ROLLUP LIMIT 100 ;
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...