CREATE TABLE "daytona_500_results" (
  "year" real,
  "manufacturer" text,
  "start" real,
  "finish" real,
  "team" text
);

Question: What Team was in 2005?
SQL: SELECT "team" FROM "daytona_500_results" WHERE "year"=2005;

Question: Before 2008, if the Manufacturer is dodge and the start is under 9, what's the highest finish time?
SQL: SELECT MAX("finish") FROM "daytona_500_results" WHERE "manufacturer"='dodge' AND "start"<9 AND "year"<2008;

Question: When the team is penske and they start under 9, what's the average finish time?
SQL: SELECT AVG("finish") FROM "daytona_500_results" WHERE "team"='penske' AND "start"<9;