CREATE TABLE "race_results" (
  "pos" real,
  "grid" real,
  "car" real,
  "driver" text,
  "constructor" text,
  "manufacturer" text,
  "laps" real,
  "laps_led" real,
  "points" real
);

Question: For the #19 car, what was their finish position?
SQL: SELECT MAX("pos") FROM "race_results" WHERE "car"=19;

Question: How many constructors had a grid of 13?
SQL: SELECT COUNT("constructor") FROM "race_results" WHERE "grid"=13;

Question: What was the maximum finish position of the car whose constructor was Joe Gibbs Racing, driven by Denny Hamlin?
SQL: SELECT MAX("pos") FROM "race_results" WHERE "constructor"='Joe Gibbs Racing' AND "driver"='Denny Hamlin';