Table: race_results_2008_2
Columns: rider
manufacturer
laps
time
grid

Question: what is the grid when the rider is mika kallio?
SQL: SELECT MAX("grid") FROM race_results_2008_2 WHERE "rider" = 'mika kallio'

Question: what is the time when laps is less than 21, manufacturer is aprilia, grid is less than 17 and the rider is thomas luthi?
SQL: SELECT "time" FROM race_results_2008_2 WHERE "laps" < 21 AND "manufacturer" = 'aprilia' AND "grid" < 17 AND "rider" = 'thomas luthi'

Question: what is the time when the laps is less than 21 and the grid is more than 17?
SQL: SELECT "time" FROM race_results_2008_2 WHERE "laps" < 21 AND "grid" > 17