SQL
AخA
SELECT log_actor, count(*) FROM logging
JOIN actor
WHERE actor_id = log_actor
AND log_type = 'patrol'
AND log_timestamp < 20220101000000 AND log_timestamp > 20191231235959
GROUP by log_actor;
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.