I am not sure what you are asking, but will try again, Here is sample data.
If I change the WHERE statement to fit each year of interest, it works, but there are too many years to query individually.
WHERE WxDate >= '2022-01-01' ANd WxDate < '2022-08-01'
DROP TEMPORARY TABLE IF EXISTS...