Table: motorcycle_race_results_2008_9
Columns: rider
manufacturer
laps
time
grid

Question: Count the Grid which has a Manufacturer of aprilia, and a Rider of bradley smith?
SQL: SELECT AVG("grid") FROM motorcycle_race_results_2008_9 WHERE "manufacturer" = 'aprilia' AND "rider" = 'bradley smith'

Question: Name the Time which has Laps of 19, and a Grid larger than 19, and a Manufacturer of ktm, and a Rider of randy krummenacher?
SQL: SELECT "time" FROM motorcycle_race_results_2008_9 WHERE "laps" = 19 AND "grid" > 19 AND "manufacturer" = 'ktm' AND "rider" = 'randy krummenacher'

Question: Name the Time which has a Manufacturer of aprilia, and a Grid smaller than 16, and a Rider of sandro cortese?
SQL: SELECT "time" FROM motorcycle_race_results_2008_9 WHERE "manufacturer" = 'aprilia' AND "grid" < 16 AND "rider" = 'sandro cortese'