CREATE TABLE "barnsley" (
  "season" text,
  "division" text,
  "league_apps" real,
  "league_goals" real,
  "fa_cup_apps" real,
  "fa_cup_goals" real,
  "total_apps" real,
  "total_goals" real
);

Question: What is the highest value of Total Goals?
SQL: SELECT MAX("total_goals") FROM "barnsley";

Question: When FA Cup Apps is 9 what is the smallest number of FA Cup Goals?
SQL: SELECT MIN("fa_cup_goals") FROM "barnsley" WHERE "fa_cup_apps"=9;

Question: What is the smallest number of Total Goals?
SQL: SELECT MIN("total_goals") FROM "barnsley";