Fork of Number of files per user in some category by Estopedist1
This query is marked as a draft This query has been published by Estopedist1.

SQL

x
 
USE commonswiki_p;
SELECT img_user_text, count(*) as tot
#:SELECT CONCAT('#[[', page_namespace,':',page_title, ']]
FROM page 
INNER JOIN categorylinks on page_id = cl_from  and cl_to='People'
INNER JOIN image ON img_name = page_title
where page_namespace = 6
group by img_user_text
order by tot desc
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.

Checking query status...