Query Run
SET @Average_edits = ( SELECT AVG(Total_edits) AS Average_edits FROM... 1 month ago