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, SUM(CASE WHEN rev_timestamp BETWEEN 20180901000000 AND 20190301000000 THEN 1 ELSE 0 END) AS recent_user_editcount FROM user INNER JOIN revision ON revision.rev_user = user.user_id WHERE user_name IN (SELECT user_name FROM user_groups INNER JOIN user ON user_id = ug_user WHERE ug_group = 'sysop') and ucase (user_name) not like ucase ("%BOT") collate utf8_general_ci and user_name not like "بوت %" collate utf8_general_ci and user_name not like "مرشح_الإساءة%" collate utf8_general_ci and user_name NOT IN (SELECT user_name FROM user_groups INNER JOIN user ON user_id = ug_user WHERE ug_group = 'bot') and user_name NOT IN (Select pl_title from pagelinks where pl_from = 2803691) and rev_timestamp >= 20000000000000 ORDER BY user_editcount DESC LIMIT 5;
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...