What year was the last European Grand Prix held in Spain?
SELECT T1.year FROM races AS T1 JOIN circuits AS T2 ON T1.circuitid  =  T2.circuitid WHERE T2.country  =  "Spain" order by T1.year desc limit 1
last refers to MAX(year) when ordered in descending; European Grand Prix held in Spain refers to filtering rows where country is Spain;