CREATE TABLE "final_table" (
  "position" real,
  "club" text,
  "played" real,
  "points" text,
  "wins" real,
  "draws" real,
  "losses" real,
  "goals_for" real,
  "goals_against" real,
  "goal_difference" real
);

Question: Which position is the highest to have less than 54 goals, a loss of 7 and a goal difference higher than 23?
SQL: SELECT MAX("position") FROM "final_table" WHERE "goals_against"<54 AND "losses"=7 AND "goal_difference">23;

Question: Which is the lowest played with 28-10 points and goals higher than 29?
SQL: SELECT MIN("played") FROM "final_table" WHERE "points"='28-10' AND "goals_for">29;

Question: How many positions have 14 wins, goals against of 61 and fewer than 19 losses?
SQL: SELECT COUNT("position") FROM "final_table" WHERE "wins"=14 AND "goals_against"=61 AND "losses"<19;

Question: What is the average loss with a goal higher than 51 and wins higher than 14?
SQL: SELECT AVG("losses") FROM "final_table" WHERE "goals_against">51 AND "wins">14;