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 20190201000000 AND 20190301000000 THEN 1 ELSE 0 END) AS recent_user_editcount FROM user INNER JOIN revision ON revision.rev_user = user.user_id join page p on p.page_id= revision.rev_page WHERE user_name IN (SELECT user_name FROM user_groups INNER JOIN user ON user_id = ug_user WHERE ug_group = 'sysop') and p.page_namespace = 4 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') GROUP BY user_name ORDER BY recent_user_editcount DESC LIMIT 150;
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...