How many years had a formula of Grand Prix?
CREATE TABLE table_name_46 (year VARCHAR, formula VARCHAR)
SELECT COUNT(year) FROM table_name_46 WHERE formula = "grand prix"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_46 (year VARCHAR, formula VARCHAR) Question: How many years had a formula of Grand Prix? [/INST] SELECT COUNT(year) FROM table_name_46 WHERE formula = "grand prix" </s>