CREATE TABLE "topscorers_in_order_of_league_goals" (
  "player" text,
  "club" text,
  "league" real,
  "fa_cup" real,
  "fa_trophy" real,
  "league_cup" real,
  "total" real
);

Question: How many FA Trophy has a Total larger than 17 and a Player of david gamble and a League Cup larger than 0?
SQL: SELECT COUNT("fa_trophy") FROM "topscorers_in_order_of_league_goals" WHERE "total">17 AND "player"='david gamble' AND "league_cup">0;

Question: Which League Cup that has a Total of 19 and a League smaller than 15?
SQL: SELECT AVG("league_cup") FROM "topscorers_in_order_of_league_goals" WHERE "total"=19 AND "league"<15;

Question: How many FA Trophy that have a Player of paul dobson, and a League Cup smaller than 2?
SQL: SELECT COUNT("fa_trophy") FROM "topscorers_in_order_of_league_goals" WHERE "player"='paul dobson' AND "league_cup"<2;