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
Bennylin
.
https://github.com/MusikAnimal/MusikBot/blob/master/tasks/top_article_reviewers.rb Most patrol by user (2017) - only in main namespace
Toggle Highlighting
SQL
use idwiki_p; SELECT logtemp.log_user_text AS `patrollers`, COUNT(DISTINCT(logtemp.log_page)) AS `patrols` FROM ( SELECT log_user_text, log_page FROM logging_userindex WHERE log_timestamp BETWEEN 20170101000000 AND 20180101000000 AND log_type = 'patrol' AND log_action = 'patrol' AND log_namespace = 0 AND log_user NOT IN (SELECT ug_user FROM user_groups WHERE ug_user = log_user AND ug_group = "bot") ) logtemp GROUP BY patrollers ORDER BY patrols DESC 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...