CREATE TABLE "goals" (
  "name" text,
  "league" real,
  "play_offs" real,
  "fa_cup" real,
  "league_cup" real,
  "total" real
);

Question: What's the total for a league cup less than 1?
SQL: SELECT COUNT("league_cup") FROM "goals" WHERE "total"<1;

Question: What's the FA Cup that has a league less than 1?
SQL: SELECT SUM("fa_cup") FROM "goals" WHERE "league"<1;