What is the average grid that has over 8 laps, a Time/Retired of +2 laps, and peter gethin driving?
CREATE TABLE table_name_61 (grid INTEGER, driver VARCHAR, laps VARCHAR, time_retired VARCHAR)
SELECT AVG(grid) FROM table_name_61 WHERE laps > 8 AND time_retired = "+2 laps" AND driver = "peter gethin"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_61 (grid INTEGER, driver VARCHAR, laps VARCHAR, time_retired VARCHAR) Question: What is the average grid that has over 8 laps, a Time/Retired of +2 laps, and peter gethin driving? [/INST] SELECT AVG(grid) FROM table_name_61 WHERE laps > 8 AND time_retired = "+2 laps" AND driver = "peter gethin" </s>