Table: superbike_brno_2008
Columns: rider
bike
laps
time
grid

Question: What bike has a grid greater than 17, laps less than 8, with milos cihak as the rider?
SQL: SELECT "bike" FROM superbike_brno_2008 WHERE "grid" > 17 AND "laps" < 8 AND "rider" = 'milos cihak'

Question: What is the highest grid that has gregorio lavilla as the rider?
SQL: SELECT MAX("grid") FROM superbike_brno_2008 WHERE "rider" = 'gregorio lavilla'

Question: What rider has laps less than 20, a ducati 1098 rs 08 as the bike, with accident as the time, and a grid less than 14?
SQL: SELECT "rider" FROM superbike_brno_2008 WHERE "laps" < 20 AND "bike" = 'ducati 1098 rs 08' AND "time" = 'accident' AND "grid" < 14