CREATE TABLE "pool_a" (
  "rank" real,
  "team" text,
  "wins" real,
  "losses" real,
  "runs_allowed" real,
  "run_ratio" real
);

Question: How many losses did the team with 0 wins and more than 72 runs allowed have?
SQL: SELECT SUM("losses") FROM "pool_a" WHERE "wins"=0 AND "runs_allowed">72;

Question: What is the lowest amount of losses the United States, ranked higher than 3 with more than 6 wins, have?
SQL: SELECT MIN("losses") FROM "pool_a" WHERE "rank"<3 AND "team"='united states' AND "wins">6;

Question: How many runs allowed did the team ranked 2 with more than 2 losses have?
SQL: SELECT AVG("runs_allowed") FROM "pool_a" WHERE "rank"=2 AND "losses">2;

Question: How many total wins did the team ranked lower than 1 with a run ratio less than 5.85 and more than 4 losses have?
SQL: SELECT COUNT("wins") FROM "pool_a" WHERE "rank">1 AND "run_ratio"<5.85 AND "losses">4;

Question: What is the highest run ratio Japan, which has less than 58 runs and 5 wins, have?
SQL: SELECT MAX("run_ratio") FROM "pool_a" WHERE "runs_allowed"<58 AND "wins"=5 AND "team"='japan';

Question: What is the average number of losses the team with less than 25 runs allowed and 5 wins have?
SQL: SELECT AVG("losses") FROM "pool_a" WHERE "runs_allowed"<25 AND "wins"=5;