SQL
x
SELECT log_user, COUNT(*) AS "Number of patrols (in time range)"
FROM logging_userindex
WHERE log_timestamp BETWEEN 20140401000000 AND 20160401000000
AND log_type = 'patrol'
AND log_deleted = 0
AND log_params NOT LIKE '%::auto";i:1%'
GROUP BY log_user;
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.