Fork of
ويكي غاب عمان 2020 حسب المستخدم
by FShbib
This query is marked as a draft
This query has been published
by Nehaoua.
SQL
AخA
use arwiki_p;
select concat('[[مستخدم:',actor_name,'|',actor_name,']]') AS "المستخدم", COUNT(rev_id) AS "عدد المقالات"
from revision r
inner join actor
on actor_id = rev_actor
inner join page p1
on p1.page_id = rev_page
where p1.page_id in
(select cl_from from categorylinks
where cl_to = "ويكي_غاب_عمان_2020")
and p1.page_is_redirect = 0
and r.rev_parent_id =0
#and rev_timestamp like "2020%"
group by actor_name
order by count(rev_id) desc
limit 500;
By running queries you agree to the Cloud Services Terms of Use and you irrevocably agree to release your SQL under CC0 License.
All SQL code is licensed under CC0 License.