Query Run
SELECT log_type, log_action, actor_name, SUBSTR(log_timestamp,1,4) as... 3 years ago
select log_type, SUBSTR(log_timestamp,1,6) as AAAAMM, count(*) from... 3 years ago