Which Time has Laps smaller than 28, and a Rider of nicky hayden?
CREATE TABLE "moto_gp_classification" (
  "rider" text,
  "manufacturer" text,
  "laps" real,
  "time" text,
  "grid" real
);
SELECT "time" FROM "moto_gp_classification" WHERE "laps"<28 AND "rider"='nicky hayden';