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"
context: CREATE TABLE table_name_68 (laps INTEGER, grid VARCHAR, time_retired VARCHAR)