SQL
AخA
SELECT
user.user_name as 'Username',
COUNT(*) as '# of actions'
FROM
logging
INNER JOIN
actor on actor.actor_id = logging.log_actor
INNER JOIN
user on user.user_id = actor.actor_user
WHERE
log_type = 'patrol'
GROUP BY logging.log_actor
ORDER BY '# of actions' DESC
LIMIT 10000
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.