What is the average year that Idris Elba was nominated for or won an award?
CREATE TABLE table_name_19 (year INTEGER, actor VARCHAR)
SELECT AVG(year) FROM table_name_19 WHERE actor = "idris elba"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_19 (year INTEGER, actor VARCHAR) Question: What is the average year that Idris Elba was nominated for or won an award? [/INST] SELECT AVG(year) FROM table_name_19 WHERE actor = "idris elba" </s>