CREATE TABLE "results" (
  "fin_pos" real,
  "car_no" real,
  "driver" text,
  "team" text,
  "laps" real,
  "time_retired" text,
  "grid" real,
  "laps_led" real,
  "points" text
);

Question: If the points is 20, what was the team name?
SQL: SELECT "team" FROM "results" WHERE "points"='20';

Question: What is the time/retired if the driver is Marco Andretti?
SQL: SELECT "time_retired" FROM "results" WHERE "driver"='Marco Andretti';

Question: If the laps is 191, what is the maximum laps led?
SQL: SELECT MAX("laps_led") FROM "results" WHERE "laps"=191;

Question: What is the time/retired if the driver is Ed Carpenter?
SQL: SELECT "time_retired" FROM "results" WHERE "driver"='Ed Carpenter';

Question: If the time/retired is +1 lap, what is the amount of maximum laps?
SQL: SELECT MAX("laps") FROM "results" WHERE "time_retired"='+1 lap';

Question: If the driver is Milka Duno, what is the name of the team?
SQL: SELECT "team" FROM "results" WHERE "driver"='Milka Duno';