Query Run
SET @page=(SELECT page_id FROM page WHERE page_namespace = 0 --... 4 years ago