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: Gary Barnett who has been in 0 FA Cups plays what position?
SQL: SELECT "position" FROM "appearances_and_goals" WHERE "fa_cup_apps"='0' AND "name"='gary barnett';

Question: What is the maximum league cup goals when there has been 0 FA cup appearances, and MF is the position, with 1 league appearance, and smaller than 0 total goals?
SQL: SELECT MAX("league_cup_goals") FROM "appearances_and_goals" WHERE "fa_cup_apps"='0' AND "position"='mf' AND "league_apps"='1' AND "total_goals"<0;

Question: How many FLT appearances for the player with less than 5 total goals, and 3 FA Cup appearances, 4 league goals, and plays MF?
SQL: SELECT "flt_apps" FROM "appearances_and_goals" WHERE "total_goals"<5 AND "fa_cup_apps"='3' AND "position"='mf' AND "league_goals"=4;