When the driver is Juan Manuel Fangio and laps is less than 39, what is the highest grid?
CREATE TABLE table_name_44 (grid INTEGER, laps VARCHAR, driver VARCHAR)
SELECT MAX(grid) FROM table_name_44 WHERE laps < 39 AND driver = "juan manuel fangio"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_44 (grid INTEGER, laps VARCHAR, driver VARCHAR) Question: When the driver is Juan Manuel Fangio and laps is less than 39, what is the highest grid? [/INST] SELECT MAX(grid) FROM table_name_44 WHERE laps < 39 AND driver = "juan manuel fangio" </s>