CREATE TABLE "running_backs" (
  "player" text,
  "car" real,
  "yards" real,
  "avg" real,
  "td_s" real,
  "long" real
);

Question: What is Mark Grieb's average when his TDs are smaller than 2?
SQL: SELECT SUM("avg") FROM "running_backs" WHERE "player"='mark grieb' AND "td_s"<2;

Question: What is Craig Whelihan's average when his yards are smaller than 0?
SQL: SELECT SUM("avg") FROM "running_backs" WHERE "player"='craig whelihan' AND "yards"<0;