CREATE TABLE "appearances_and_goals" (
  "squad_no" real,
  "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,
  "playoff_apps" text,
  "playoff_goals" real,
  "total_apps" text,
  "total_goals" real
);

Question: What was the playoff apps for Thomas Heary, that had the position df?
SQL: SELECT "playoff_apps" FROM "appearances_and_goals" WHERE "position"='df' AND "name"='thomas heary';

Question: What's the lowest squad number with more than 6 goals, fewer than 8 league goals, and more than 0 playoff goals?
SQL: SELECT MIN("squad_no") FROM "appearances_and_goals" WHERE "total_goals">6 AND "league_goals"<8 AND "playoff_goals">0;

Question: How many total goals did the squad with 2 playoff apps, 2 FA Cup Apps, and 0 League Cup goals get?
SQL: SELECT SUM("total_goals") FROM "appearances_and_goals" WHERE "playoff_apps"='2' AND "fa_cup_apps"='2' AND "league_cup_goals"<0;