Query Run
SET @start_time = '20210601'; -- 1 Jan 2020 SET @end_time = '20210630'; -- 1... 3 years ago
SET @start_time = '20210701'; -- 1 Jan 2020 SET @end_time = '20210930'; -- 1... 3 years ago
SET @start_time = '20200101'; -- 1 Jan 2020 SET @end_time = '20210101'; -- 1... 3 years ago