what is the sum of laps when grid is less than 20 and johnny herbert is driving?
CREATE TABLE table_name_29 (laps INTEGER, grid VARCHAR, driver VARCHAR)
SELECT SUM(laps) FROM table_name_29 WHERE grid < 20 AND driver = "johnny herbert"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_29 (laps INTEGER, grid VARCHAR, driver VARCHAR) Question: what is the sum of laps when grid is less than 20 and johnny herbert is driving? [/INST] SELECT SUM(laps) FROM table_name_29 WHERE grid < 20 AND driver = "johnny herbert" </s>