CREATE TABLE "statistics" (
  "year" text,
  "comp" real,
  "att" real,
  "comppct" real,
  "yards" real,
  "td_s" real,
  "int_s" real,
  "rating" real
);

Question: What is the sum of completions that led to completion percentages of 65.4 and attempts under 451?
SQL: SELECT SUM("comp") FROM "statistics" WHERE "comppct"=65.4 AND "att"<451;

Question: What is the highest number of touchdowns that had yards of 574 and completions over 54?
SQL: SELECT MAX("td_s") FROM "statistics" WHERE "yards"=574 AND "comp">54;