Table: motorcycle_race_results
Columns: rider
manufacturer
laps
time_retired
grid

Question: What is the grid total associated with 18 laps?
SQL: SELECT COUNT("grid") FROM motorcycle_race_results WHERE "laps" = 18

Question: What rider is on an aprilia that went under 18 laps with a grid total of 17?
SQL: SELECT "rider" FROM motorcycle_race_results WHERE "manufacturer" = 'aprilia' AND "laps" < 18 AND "grid" = 17

Question: What is the Manufacturer for simone corsi?
SQL: SELECT "manufacturer" FROM motorcycle_race_results WHERE "rider" = 'simone corsi'

Question: What is the grid total associated with a Time/Retired of +33.634, and a Laps smaller than 19?
SQL: SELECT MIN("grid") FROM motorcycle_race_results WHERE "time_retired" = '+33.634' AND "laps" < 19