Context: CREATE TABLE table_name_68 (laps INTEGER, grid VARCHAR, time_retired VARCHAR)
Question: What is the high lap total for a grid less than 6, and a Time/Retired of halfshaft?
Answer: SELECT MAX(laps) FROM table_name_68 WHERE grid < 6 AND time_retired = "halfshaft"