Table: race_results_2007_2
Columns: rider
manufacturer
laps
time_retired
grid

Question: Which rider had fewer than 10 laps for the Aprilia manufacturer, finishing in retirement?
SQL: SELECT "rider" FROM race_results_2007_2 WHERE "laps" < 10 AND "manufacturer" = 'aprilia' AND "time_retired" = 'retirement'

Question: What is the time for a grid greater than 20, fewer than 26 laps, and the Aprilia manufacturer?
SQL: SELECT "time_retired" FROM race_results_2007_2 WHERE "grid" > 20 AND "laps" < 26 AND "manufacturer" = 'aprilia'

Question: Which rider had more than 23 laps, a manufacturer of Aprilia, and a grid of 14
SQL: SELECT "rider" FROM race_results_2007_2 WHERE "laps" > 23 AND "manufacturer" = 'aprilia' AND "grid" = 14