Toggle navigation
Home
New Query
Recent Queries
Discuss
Database tables
Database names
MediaWiki
Wikibase
Replicas browser and optimizer
Login
History
Fork
Fork of
Most active users on WP:KSA pages in last 3 Month
by
FShbib
This query is marked as a draft
This query has been published
by
FShbib
.
Toggle Highlighting
SQL
USE arwiki_p; SELECT actor_name, count(rev_actor) FROM revision JOIN actor ON actor_id = rev_actor INNER JOIN page article ON article.page_id = rev_page AND article.page_namespace = 0 INNER JOIN page talk ON talk.page_title = article.page_title AND talk.page_namespace = 1 INNER JOIN categorylinks ON cl_from = talk.page_id WHERE # rev_timestamp > DATE_SUB(NOW(), INTERVAL 3 MONTH) rev_timestamp BETWEEN "20190101000000" AND "20191231235959" AND cl_to = "مقالات_مشروع_ويكي_السعودية" AND actor_name NOT IN (SELECT user_name FROM user_groups INNER JOIN user ON user_id = ug_user WHERE ug_group = 'bot') GROUP BY rev_actor ORDER BY COUNT(rev_actor) DESC LIMIT 100;
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...