CREATE TABLE "receiving" (
  "player" text,
  "rec" real,
  "yards" real,
  "avg" real,
  "long" real
);

Question: How many yards did Davin Meggett have with more than 9 Rec.?
SQL: SELECT SUM("yards") FROM "receiving" WHERE "player"='davin meggett' AND "rec">9;

Question: What is Darrius Heyward-Bey's average with more than 20 yards and less than 80 long?
SQL: SELECT COUNT("avg") FROM "receiving" WHERE "yards">20 AND "player"='darrius heyward-bey' AND "long"<80;