CREATE TABLE "most_appearances" (
  "player" text,
  "position" text,
  "premier_league" real,
  "fa_cup" real,
  "league_cup" real,
  "uefa_cup" real,
  "total" real
);

Question: What is the total number of appearances in the premier league when there were 10 appearances at UEFA and less than 4 at league cup?
SQL: SELECT COUNT("premier_league") FROM "most_appearances" WHERE "uefa_cup"=10 AND "league_cup"<4;

Question: What is the highest total number of appearances when there were less than 4 at the FA cup?
SQL: SELECT MAX("total") FROM "most_appearances" WHERE "fa_cup"<4;

Question: What player had less than 6 appearances at the FA cup, 33 at the premier league, and more than 5 at the UEFA cup?
SQL: SELECT "player" FROM "most_appearances" WHERE "fa_cup"<6 AND "premier_league"=33 AND "uefa_cup">5;

Question: What is the sum of the appearances at the league cup for the defender who had less than 10 appearances at the UEFA cup?
SQL: SELECT SUM("league_cup") FROM "most_appearances" WHERE "position"='defender' AND "uefa_cup"<10;