Added years into the SQL queries for creating the views