What is the number of the grid when there was a Time/Retired of engine and less than 9 laps?
CREATE TABLE table_name_25 (grid INTEGER, time_retired VARCHAR, laps VARCHAR)
SELECT SUM(grid) FROM table_name_25 WHERE time_retired = "engine" AND laps < 9
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_25 (grid INTEGER, time_retired VARCHAR, laps VARCHAR) Question: What is the number of the grid when there was a Time/Retired of engine and less than 9 laps? [/INST] SELECT SUM(grid) FROM table_name_25 WHERE time_retired = "engine" AND laps < 9 </s>