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