What is the sum of a grid for driver Patrick Carpentier and less than 103 laps?
CREATE TABLE table_name_58 (grid INTEGER, driver VARCHAR, laps VARCHAR)
SELECT SUM(grid) FROM table_name_58 WHERE driver = "patrick carpentier" AND laps < 103
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_58 (grid INTEGER, driver VARCHAR, laps VARCHAR) Question: What is the sum of a grid for driver Patrick Carpentier and less than 103 laps? [/INST] SELECT SUM(grid) FROM table_name_58 WHERE driver = "patrick carpentier" AND laps < 103 </s>