CREATE TABLE table_name_60 (laps INT, time_retired VARCHAR, driver VARCHAR)

What is the mean number of laps when time/retired was spun off and the driver was Nick Heidfeld?
SELECT AVG(laps) FROM table_name_60 WHERE time_retired = "spun off" AND driver = "nick heidfeld"
SELECT AVG("laps") FROM "table_name_60" WHERE "driver" = "nick heidfeld" AND "spun off" = "time_retired"