Fork of Most pending changes accepts (all time) by Novem Linguae
This query is marked as a draft This query has been published by Novem Linguae.

SQL

AخA
 
SELECT ROW_NUMBER() OVER(ORDER BY COUNT(*) DESC) AS rank,
    actor_name,
    COUNT(log_actor) AS manual_accept_count
FROM logging_userindex
JOIN actor_logging ON actor_id = log_actor
WHERE log_type = 'review'
    AND log_action = 'approve'
    AND DATEDIFF(NOW(), log_timestamp) < 30
GROUP BY log_actor
ORDER BY manual_accept_count DESC
LIMIT 1000
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...