Table: qatar_moto_gp_2008
Columns: rider
manufacturer
laps
time_retired
grid

Question: What was the average number of laps completed by KTM riders, with times of +56.440 and grid values under 11?
SQL: SELECT AVG("laps") FROM qatar_moto_gp_2008 WHERE "manufacturer" = 'ktm' AND "time_retired" = '+56.440' AND "grid" < 11

Question: What was the highest grid value for riders with manufacturer of Aprilia and time of +1.660?
SQL: SELECT MAX("grid") FROM qatar_moto_gp_2008 WHERE "manufacturer" = 'aprilia' AND "time_retired" = '+1.660'