CREATE TABLE "o_reilly_200_memphis" (
  "pos" real,
  "car_num" real,
  "driver" text,
  "make" text,
  "team" text
);

Question: Which Pos has a Make of chevrolet, and a Driver of jack sprague, and a Car # smaller than 2?
SQL: SELECT SUM("pos") FROM "o_reilly_200_memphis" WHERE "make"='chevrolet' AND "driver"='jack sprague' AND "car_num"<2;

Question: How many Car numbers have a Driver of erik darnell, and a Pos smaller than 2?
SQL: SELECT COUNT("car_num") FROM "o_reilly_200_memphis" WHERE "driver"='erik darnell' AND "pos"<2;

Question: Which Pos has a Car # of 33?
SQL: SELECT SUM("pos") FROM "o_reilly_200_memphis" WHERE "car_num"=33;

Question: Which Pos has a Team of circle bar racing, and a Car # smaller than 14?
SQL: SELECT MAX("pos") FROM "o_reilly_200_memphis" WHERE "team"='circle bar racing' AND "car_num"<14;

Question: Which Pos has a Car # larger than 2, and a Team of billy ballew motorsports?
SQL: SELECT AVG("pos") FROM "o_reilly_200_memphis" WHERE "car_num">2 AND "team"='billy ballew motorsports';