Query Run
SET @start_date = '20221101000000'; SET @end_date = '20221130235959'; ... 1 year ago