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
Bdijkstra
.
Toggle Highlighting
SQL
USE nlwiki_p;/* # anonymous totals SELECT 'unpatrolled' AS rc_patrolled, COUNT(*) AS 'count' FROM recentchanges, actor WHERE rc_actor=actor_id AND (IS_IPV4(actor_name) OR IS_IPV6(actor_name)) AND rc_patrolled=0 UNION SELECT 'manually patrolled', COUNT(*) FROM recentchanges, actor WHERE rc_actor=actor_id AND (IS_IPV4(actor_name) OR IS_IPV6(actor_name)) AND rc_patrolled=1 UNION SELECT 'autopatrolled', COUNT(*) FROM recentchanges, actor WHERE rc_actor=actor_id AND (IS_IPV4(actor_name) OR IS_IPV6(actor_name)) AND rc_patrolled=2; # unpatrolled anonymous per day SELECT LEFT(rc_timestamp, 8) AS 'day', COUNT(*) AS 'count' FROM recentchanges, actor WHERE rc_actor=actor_id AND (IS_IPV4(actor_name) OR IS_IPV6(actor_name)) AND rc_patrolled=0 GROUP BY LEFT(rc_timestamp, 8);*/ SELECT * FROM recentchanges WHERE rc_patrolled=0 LIMIT 10
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...