SQL
AخA
USE arwiki_p;
SELECT actor_name, count(rev_actor)
FROM revision
JOIN actor ON actor_id = rev_actor
INNER JOIN page article ON
article.page_id = rev_page AND
article.page_namespace = 0
LEFT JOIN user_properties ON
up_user = actor_user
WHERE
rev_timestamp > DATE_SUB(NOW(), INTERVAL 1 day)
AND up_property = 'gender'
AND up_value LIKE 'female'
AND actor_name NOT IN (SELECT user_name FROM user_groups INNER JOIN user ON user_id = ug_user WHERE ug_group = 'bot')
GROUP BY rev_actor
having count(rev_actor) > 5
ORDER BY COUNT(rev_actor) DESC
LIMIT 10
;
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.