Query Run
WITH my_cte AS ( SELECT log_id, MAX(log_timestamp) AS max_log_timestamp ... 1 year ago