Table: motorcycle_race_results
Columns: rider
manufacturer
laps
time_retired
grid

Question: What is the average grid for the competitiors who had laps smaller than 3?
SQL: SELECT AVG("grid") FROM motorcycle_race_results WHERE "laps" < 3

Question: What is the average grid for competitors who had more than 22 laps and time/retired of +17.276?
SQL: SELECT AVG("grid") FROM motorcycle_race_results WHERE "time_retired" = '+17.276' AND "laps" > 22

Question: What was the average amount of laps for competitors with a grid that was more than 11 and a Time/Retired of +28.108?
SQL: SELECT AVG("laps") FROM motorcycle_race_results WHERE "time_retired" = '+28.108' AND "grid" > 11