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 CONCAT(user_name) AS "User",DATE_FORMAT(user_registration, "%Y-%m-%d") as registration_date, SUM(CASE WHEN rev_timestamp BETWEEN 20181201000000 AND 20190131000000 THEN 1 ELSE 0 END) AS recent_user_editcount, COUNT(rev_id) AS user_editcount FROM user INNER JOIN revision ON revision.rev_user = user.user_id WHERE rev_timestamp >= 20000000000000 and user_id not in (select ug_user from user_groups) and user_id not in (select ipb_user from ipblocks where ipb_user = user_id) 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_editcount > 500 and recent_user_editcount > 10 GROUP BY user_name ORDER BY recent_user_editcount 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...