Table: motogp_results
Columns: rider
manufacturer
laps
time_retired
grid

Question: What is the time/retired with 22 laps and a grid of 29?
SQL: SELECT "time_retired" FROM motogp_results WHERE "laps" = 22 AND "grid" = 29

Question: What is the highest number of laps with a time of +6.643 and grid less than 2?
SQL: SELECT MAX("laps") FROM motogp_results WHERE "time_retired" = '+6.643' AND "grid" < 2