Table: monza_sbk_2008
Columns: rider
bike
laps
time
grid

Question: Which Rider is grid 7?
SQL: SELECT "rider" FROM monza_sbk_2008 WHERE "grid" = 7

Question: What is the total number of laps done by Massimo Roccoli when his grid was smaller than 4?
SQL: SELECT COUNT("laps") FROM monza_sbk_2008 WHERE "rider" = 'massimo roccoli' AND "grid" < 4

Question: What is the time recorded by David Salom on his Yamaha yzf-r6 when his grid was larger than 1?
SQL: SELECT "time" FROM monza_sbk_2008 WHERE "bike" = 'yamaha yzf-r6' AND "grid" > 1 AND "rider" = 'david salom'