Query Run
SET @yr='1900_births'; WITH results AS (SELECT COUNT(rev_page) AS pages,... 1 year ago