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
جار الله
.
Toggle Highlighting
SQL
USE arwiki_p; SELECT count(*) AS counter, user_name, user_editcount FROM logging log JOIN user us ON log.log_user = us.user_id JOIN user_groups ug ON log.log_user = ug.ug_user WHERE ug.ug_user IN (SELECT DISTINCT user_groups.ug_user FROM user_groups WHERE ug_group = 'sysop') AND log.log_timestamp > ( NOW() - INTERVAL 12 MONTH) AND ( log.log_params LIKE '%"6::auto";i:0%' OR log.log_params LIKE '%\n0' /* not autopatrolled */ ) GROUP BY log.log_user ORDER BY counter DESC 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...