Table: motorcycle_race_results_2008_5
Columns: rider
manufacturer
laps
time
grid

Question: How many laps did ben spies do on the grid less than 7?
SQL: SELECT COUNT("laps") FROM motorcycle_race_results_2008_5 WHERE "grid" < 7 AND "rider" = 'ben spies'

Question: which grid did less than 20 laps in a time of +58.353?
SQL: SELECT MIN("grid") FROM motorcycle_race_results_2008_5 WHERE "time" = '+58.353' AND "laps" < 20

Question: what was valentino rossi's rider time?
SQL: SELECT "time" FROM motorcycle_race_results_2008_5 WHERE "rider" = 'valentino rossi'