CREATE TABLE "appearances_and_goals" (
  "name" text,
  "position" text,
  "league_apps" text,
  "league_goals" real,
  "fa_cup_apps" text,
  "fa_cup_goals" real,
  "league_cup_apps" text,
  "league_cup_goals" real,
  "total_apps" text,
  "total_goals" real
);

Question: Which FA Cup Apps have League Apps of 21?
SQL: SELECT "fa_cup_apps" FROM "appearances_and_goals" WHERE "league_apps"='21';

Question: Which Name has a League Cup Goals of 0, and League Apps of 1?
SQL: SELECT "name" FROM "appearances_and_goals" WHERE "league_cup_goals"=0 AND "league_apps"='1';

Question: Which Total Goals have a League Cup Goals larger than 0, and FA Cup Goals larger than 0?
SQL: SELECT AVG("total_goals") FROM "appearances_and_goals" WHERE "league_cup_goals">0 AND "fa_cup_goals">0;

Question: Which Total Goals have Total Apps of 42 (3), and League Goals smaller than 1?
SQL: SELECT MAX("total_goals") FROM "appearances_and_goals" WHERE "total_apps"='42 (3)' AND "league_goals"<1;