CREATE TABLE "rushing" (
  "name" text,
  "gain" real,
  "loss" real,
  "long" real,
  "avg_g" real
);

Question: Which Avg/G has a Long of 93, and a Loss smaller than 249?
SQL: SELECT SUM("avg_g") FROM "rushing" WHERE "long"=93 AND "loss"<249;

Question: Which Avg/G has a Gain of 1,839?
SQL: SELECT SUM("avg_g") FROM "rushing" WHERE "gain"='1,839';

Question: Which Avg/G has a Name of josh freeman, and a Loss smaller than 134?
SQL: SELECT SUM("avg_g") FROM "rushing" WHERE "name"='josh freeman' AND "loss"<134;

Question: How much Gain has a Long of 29, and an Avg/G smaller than 33.7?
SQL: SELECT COUNT("gain") FROM "rushing" WHERE "long"=29 AND "avg_g"<33.7;

Question: Which Long is the highest one that has a Loss larger than 3, and a Gain larger than 2,894?
SQL: SELECT MAX("long") FROM "rushing" WHERE "loss">3 AND "gain">'2,894';