Schema: CREATE TABLE table_name_31 (laps VARCHAR, grid VARCHAR, time_retired VARCHAR)
Question: How many laps for a grid larger than 1 with a Time/Retired of halfshaft?
SQL: SELECT laps FROM table_name_31 WHERE grid > 1 AND time_retired = "halfshaft"