How many years have a Result of nominated?
CREATE TABLE table_name_42 (year VARCHAR, result VARCHAR)
SELECT COUNT(year) FROM table_name_42 WHERE result = "nominated"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_42 (year VARCHAR, result VARCHAR) Question: How many years have a Result of nominated? [/INST] SELECT COUNT(year) FROM table_name_42 WHERE result = "nominated" </s>