Who was the rider who had less than 30 laps, ended in an accident with a car manufactured by yamaha on a grid larger than 3?
CREATE TABLE "moto_gp_classification" (
  "rider" text,
  "manufacturer" text,
  "laps" real,
  "time" text,
  "grid" real
);
SELECT "rider" FROM "moto_gp_classification" WHERE "laps"<30 AND "manufacturer"='yamaha' AND "time"='accident' AND "grid">3;