SQL
AخA
SELECT actor_name, COUNT(rev_id) AS pages_created
FROM revision
JOIN actor a ON a.actor_id = revision.rev_actor
JOIN user u on u.user_id = a.actor_user
JOIN user_groups ug ON ug.ug_user = u.user_id
WHERE ug_group in ("bot")
AND rev_parent_id = 0
GROUP BY actor_name
ORDER BY pages_created 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.