CREATE TABLE "first_league" (
  "team" text,
  "match" real,
  "points" real,
  "draw" real,
  "lost" real
);

Question: Which average match has a lost greater than 0, points greater than 6, legia warszawa as the team, and a draw less than 0?
SQL: SELECT AVG("match") FROM "first_league" WHERE "lost">0 AND "points">6 AND "team"='legia warszawa' AND "draw"<0;

Question: What draw has a lost less than 6 with 28 as the points?
SQL: SELECT "draw" FROM "first_league" WHERE "lost"<6 AND "points"=28;

Question: Which average lost that has a match less than 14?
SQL: SELECT AVG("lost") FROM "first_league" WHERE "match"<14;