Table: motorcycle_race_results_2
Columns: rider
manufacturer
laps
time_retired
grid

Question: How many laps did pere riba ride?
SQL: SELECT SUM("laps") FROM motorcycle_race_results_2 WHERE "rider" = 'pere riba'

Question: How many laps were in grid 4?
SQL: SELECT "laps" FROM motorcycle_race_results_2 WHERE "grid" = 4

Question: Who manufactured grid 11?
SQL: SELECT "manufacturer" FROM motorcycle_race_results_2 WHERE "grid" = 11

Question: Which Grid has Laps larger than 26, and a Time/Retired of 44:39.467?
SQL: SELECT MIN("grid") FROM motorcycle_race_results_2 WHERE "laps" > 26 AND "time_retired" = '44:39.467'