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
FShbib
.
Toggle Highlighting
SQL
use arwiki_p; SELECT user.user_name AS pusername, p_count FROM (SELECT log_user AS p_user, COUNT(log_user) AS p_count FROM logging AS up WHERE up.log_action='approve' or up.log_action='approve-ia' or up.log_action='approve-a' or up.log_action='approve2-i' or up.log_action='approve-i' or up.log_action='approve2' or up.log_action='unapprove' or up.log_action='unapprove2' GROUP BY log_user ORDER BY COUNT(log_user) DESC LIMIT 200) AS patrol, user WHERE p_user=user_id AND p_user NOT IN (SELECT ug_user FROM user_groups WHERE user_groups.ug_group='bot') 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...