Fork of
Most new page reviews of 2021 on enwiki
by Tamzin
This query is marked as a draft
This query has been published
by Premeditated.
SQL
AخA
SELECT RANK() OVER (ORDER BY $reviews DESC) AS Rank, actor_name, COUNT(*) AS $reviews
FROM logging
JOIN actor ON log_actor = actor_id
AND (
(
log_type = 'patrol'
AND log_action = 'patrol'
) OR (
log_type = 'pagetriage-curation'
AND log_action = 'reviewed'
)
)
AND log_timestamp >= 20210000000000
AND log_timestamp < 20220000000000
AND log_namespace = 0
GROUP BY 2
ORDER BY 1 ASC
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.