Fork of New page patrollers by number of articles created by Joe Roe (mobile)
This query is marked as a draft This query has been published by Joe Roe.

SQL

AخA
 
SELECT user_name, COUNT(rev_id) AS 'articles_created'
FROM user
LEFT JOIN user_groups ON ug_user = user_id
LEFT JOIN actor ON actor_user = user_id
LEFT JOIN revision_userindex ON rev_actor = actor_id
LEFT JOIN page ON page_id = rev_page
WHERE ug_group = 'patroller'
AND rev_parent_id = 0
AND page_namespace = 0
AND page_is_redirect = 0
GROUP BY user_name
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...