Table: race_results_2008_smrc
Columns: rider
manufacturer
laps
time
grid

Question: Can you tell me the average Laps that has the Time of +17.485, and the Grid smaller than 7?
SQL: SELECT AVG("laps") FROM race_results_2008_smrc WHERE "time" = '+17.485' AND "grid" < 7

Question: Can you tell me the sum of Grid that has the Manufacturer of aprilia, and the sandro cortese?
SQL: SELECT SUM("grid") FROM race_results_2008_smrc WHERE "manufacturer" = 'aprilia' AND "rider" = 'sandro cortese'