Table: canadian_grand_prix_1996
Columns: driver
constructor
laps
time_retired
grid

Question: How many laps for grid of 9?
SQL: SELECT "laps" FROM canadian_grand_prix_1996 WHERE "grid" = 9

Question: What is the high lap total for a grid less than 6, and a Time/Retired of halfshaft?
SQL: SELECT MAX("laps") FROM canadian_grand_prix_1996 WHERE "grid" < 6 AND "time_retired" = 'halfshaft'