SQL
x
SET @rev = (SELECT MIN(rev_id)
FROM revision
WHERE rev_timestamp > DATE_FORMAT(DATE_ADD(NOW(), INTERVAL -10 DAY), "%Y%m%d%H%i%s"));
SELECT COUNT(*) AS 'Edits',
actor_name AS `User`
FROM revision_userindex
JOIN actor_revision ON rev_actor = actor_id
WHERE rev_id >= @rev
GROUP BY `User`
ORDER BY Edits DESC
LIMIT 30;
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.