What is the total of laps with grid of 2
CREATE TABLE table_name_5 (laps INTEGER, grid VARCHAR)
SELECT SUM(laps) FROM table_name_5 WHERE grid = 2
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_5 (laps INTEGER, grid VARCHAR) Question: What is the total of laps with grid of 2 [/INST] SELECT SUM(laps) FROM table_name_5 WHERE grid = 2 </s>