Query Run
select substr(log_timestamp,1,4), count(log_action) from logging where... 8 months ago
select substr(log_timestamp,1,4), count(log_action) from logging where... 9 months ago