CREATE TABLE "group_a" (
  "pos" real,
  "team" text,
  "wins" real,
  "ties" real,
  "losses" real,
  "goals" text,
  "diff" text,
  "points" text
);

Question: What is the most wins when the number of losses was less than 4 and there was more than 0 ties?
SQL: SELECT MAX("wins") FROM "group_a" WHERE "losses"<4 AND "ties">0;

Question: Which team had fewer than 2 losses and a position number more than 1?
SQL: SELECT "team" FROM "group_a" WHERE "losses"<2 AND "pos">1;