Table: french_grand_prix_1965
Columns: driver
constructor
laps
time_retired
grid

Question: What is the sum number of grid where time/retired is 2:41:38.4 and laps were more than 40?
SQL: SELECT COUNT("grid") FROM french_grand_prix_1965 WHERE "time_retired" = '2:41:38.4' AND "laps" > 40

Question: Which constructor had laps amounting to more than 21 where the driver was John Surtees?
SQL: SELECT "constructor" FROM french_grand_prix_1965 WHERE "laps" > 21 AND "driver" = 'john surtees'

Question: How many laps did Jo Bonnier driver when the grid number was smaller than 11?
SQL: SELECT SUM("laps") FROM french_grand_prix_1965 WHERE "driver" = 'jo bonnier' AND "grid" < 11

Question: How many laps were there when time/retired was gearbox?
SQL: SELECT SUM("laps") FROM french_grand_prix_1965 WHERE "time_retired" = 'gearbox'