What is the mean number of laps when time/retired was spun off and the driver was Nick Heidfeld?
CREATE TABLE table_name_60 (laps INTEGER, time_retired VARCHAR, driver VARCHAR)
SELECT AVG(laps) FROM table_name_60 WHERE time_retired = "spun off" AND driver = "nick heidfeld"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_60 (laps INTEGER, time_retired VARCHAR, driver VARCHAR) Question: What is the mean number of laps when time/retired was spun off and the driver was Nick Heidfeld? [/INST] SELECT AVG(laps) FROM table_name_60 WHERE time_retired = "spun off" AND driver = "nick heidfeld" </s>