Table: motorcycle_race_results_2
Columns: rider
manufacturer
laps
time_retired
grid

Question: How many laps did the rider Alex Baldolini take?
SQL: SELECT SUM("laps") FROM motorcycle_race_results_2 WHERE "rider" = 'alex baldolini'

Question: How many laps were completed in the time of +7.213 with a grid number larger than 7?
SQL: SELECT COUNT("laps") FROM motorcycle_race_results_2 WHERE "time_retired" = '+7.213' AND "grid" > 7

Question: What is total number of laps for bikes manufactured by KTM with a time of +3.578 and a grid number larger than 4?
SQL: SELECT COUNT("laps") FROM motorcycle_race_results_2 WHERE "manufacturer" = 'ktm' AND "time_retired" = '+3.578' AND "grid" > 4