• I am getting an error when I add that in (invalid column name dpages). Can you post the complete SQL?