Toggle navigation
Home
New Query
Recent Queries
Discuss
Database tables
Database names
MediaWiki
Wikibase
Replicas browser and optimizer
Login
History
Fork
Fork of
أكثر المستخدمين إنشاءً للمقالات ضمن مشروع ويكي طب
by
علاء
This query is marked as a draft
This query has been published
by
لوقا
.
Toggle Highlighting
SQL
use arwiki_p; # by actor_name in actor table # https://www.mediawiki.org/wiki/Manual:Actor_table select actor_name,actor_user, count(actor_name) FROM revision JOIN page ON rev_page = page_id join actor on actor_id = rev_actor WHERE page_namespace = 0 AND rev_parent_id = 0 and rev_timestamp BETWEEN 20220101000000 AND 20221231235959 AND page.page_is_redirect = 0 AND page.page_id in (select cl_from from categorylinks where cl_from = page.page_id and cl_to = "بوابة_طب/مقالات_متعلقة") group by actor_name ORDER BY count(actor_name) desc; # by user_name in user table # https://www.mediawiki.org/wiki/Manual:User_table select user_name,user_id, count(user_name) FROM revision JOIN page ON rev_page = page_id join actor on actor_id = rev_actor join user on user_id = actor_user WHERE page_namespace = 0 AND rev_parent_id = 0 and rev_timestamp BETWEEN 20220101000000 AND 20221231235959 AND page.page_is_redirect = 0 AND page.page_id in (select cl_from from categorylinks where cl_from = page.page_id and cl_to = "بوابة_طب/مقالات_متعلقة") group by user_name ORDER BY count(user_name) desc;
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...