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 user_name, COUNT(*), actor_user FROM actor inner join user on user_id = actor_user inner join logging on actor_user = log_actor WHERE log_type in ('block', 'delete', 'protect','rights') AND actor_user in (select ug_user from user_groups where ug_user = actor_user and ug_group = "sysop") AND actor_user not in (select ug_user from user_groups where ug_user = actor_user and ug_group = "bot") AND ucase (user_name) not like ucase (_utf8"%BOT") COLLATE utf8_general_ci AND user_name not like _utf8"بوت %" collate utf8_general_ci AND user_name not like _utf8"بوت %" collate utf8_general_ci GROUP BY user_name ORDER BY COUNT(*) DESC LIMIT 50;
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...