Table: valencia_sbk_race
Columns: rider
bike
laps
time
grid

Question: How many laps had a time stat of accident for the rider carmelo morales when the grid was more than 25?
SQL: SELECT SUM("laps") FROM valencia_sbk_race WHERE "time" = 'accident' AND "rider" = 'carmelo morales' AND "grid" > 25

Question: How many laps had a time of +2.987?
SQL: SELECT COUNT("laps") FROM valencia_sbk_race WHERE "time" = '+2.987'

Question: Which bike had fewer than 23 laps and a grid number of 4?
SQL: SELECT "bike" FROM valencia_sbk_race WHERE "laps" < 23 AND "grid" = 4