CREATE TABLE "race_results" (
  "rd" text,
  "race" text,
  "pole_position" text,
  "fastest_lap" text,
  "most_laps_led" text,
  "winning_driver" text,
  "winning_team" text
);

Question: Who had the fastest lap(s) when stefan wilson had the pole?
SQL: SELECT "fastest_lap" FROM "race_results" WHERE "pole_position"='Stefan Wilson';

Question: Who had the fastest lap(s) when josef newgarden led the most laps at edmonton?
SQL: SELECT "fastest_lap" FROM "race_results" WHERE "most_laps_led"='Josef Newgarden' AND "race"='Edmonton';

Question: Who had the pole(s) when esteban guerrieri led the most laps round 8a and josef newgarden had the fastest lap?
SQL: SELECT "pole_position" FROM "race_results" WHERE "most_laps_led"='Esteban Guerrieri' AND "fastest_lap"='Josef Newgarden' AND "rd"='8A';

Question: Who led the most laps when brandon wagner had the fastest lap?
SQL: SELECT "most_laps_led" FROM "race_results" WHERE "fastest_lap"='Brandon Wagner';

Question: What race did josef newgarden have the fastest lap and lead the most laps?
SQL: SELECT "race" FROM "race_results" WHERE "fastest_lap"='Josef Newgarden' AND "most_laps_led"='Josef Newgarden';