How many laps have a grid under 14 and a time/retired of out of fuel?
CREATE TABLE table_name_2 (laps INTEGER, grid VARCHAR, time_retired VARCHAR)
SELECT SUM(laps) FROM table_name_2 WHERE grid < 14 AND time_retired = "out of fuel"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_2 (laps INTEGER, grid VARCHAR, time_retired VARCHAR) Question: How many laps have a grid under 14 and a time/retired of out of fuel? [/INST] SELECT SUM(laps) FROM table_name_2 WHERE grid < 14 AND time_retired = "out of fuel" </s>