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,
  "flt_apps" text,
  "flt_goals" real,
  "total_apps" text,
  "total_goals" real
);

Question: what is the league cup apps when the total goals is less than 2 and the total apps is 12?
SQL: SELECT "league_cup_apps" FROM "appearances_and_goals" WHERE "total_goals"<2 AND "total_apps"='12';

Question: what is the average ga cup goals when the league cup apps is 2, the fa cup apps is 3 and the league goals is 3?
SQL: SELECT AVG("fa_cup_goals") FROM "appearances_and_goals" WHERE "league_cup_apps"='2' AND "fa_cup_apps"='3' AND "league_goals"=3;

Question: what is the highest fa cup goals when flt goals is more than 0?
SQL: SELECT MAX("fa_cup_goals") FROM "appearances_and_goals" WHERE "flt_goals">0;

Question: what is the total apps when the league apps is 4 (2)?
SQL: SELECT "total_apps" FROM "appearances_and_goals" WHERE "league_apps"='4 (2)';