Table: motorcycle_race_results_2007_2
Columns: rider
manufacturer
laps
time_retired
grid

Question: what is the smallest number of laps imre toth has?
SQL: SELECT MIN("laps") FROM motorcycle_race_results_2007_2 WHERE "rider" = 'imre toth'

Question: what is the smallest number of laps marco simoncelli has with grid less than 8 and gilera as the manufacturer?
SQL: SELECT MIN("laps") FROM motorcycle_race_results_2007_2 WHERE "manufacturer" = 'gilera' AND "rider" = 'marco simoncelli' AND "grid" < 8