Table: grand_prix_1959_2
Columns: driver
constructor
laps
time_retired
grid

Question: How many grids have a Time/Retired of gearbox, and Laps smaller than 3?
SQL: SELECT COUNT("grid") FROM grand_prix_1959_2 WHERE "time_retired" = 'gearbox' AND "laps" < 3

Question: What is masten gregory's average lap?
SQL: SELECT AVG("laps") FROM grand_prix_1959_2 WHERE "driver" = 'masten gregory'

Question: Which Time/Retired has a Grid of 2?
SQL: SELECT "time_retired" FROM grand_prix_1959_2 WHERE "grid" = 2