What year was the runner-up Portugal with Italy in third place, and the gold keeper Nuno Hidalgo?
CREATE TABLE table_name_5 (year INTEGER, best_goalkeeper VARCHAR, runner_up VARCHAR, third_place VARCHAR)
SELECT AVG(year) FROM table_name_5 WHERE runner_up = "portugal" AND third_place = "italy" AND best_goalkeeper = "nuno hidalgo"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_5 (year INTEGER, best_goalkeeper VARCHAR, runner_up VARCHAR, third_place VARCHAR) Question: What year was the runner-up Portugal with Italy in third place, and the gold keeper Nuno Hidalgo? [/INST] SELECT AVG(year) FROM table_name_5 WHERE runner_up = "portugal" AND third_place = "italy" AND best_goalkeeper = "nuno hidalgo" </s>