CREATE TABLE "table" (
  "place" real,
  "matches" real,
  "drawn" real,
  "lost" real,
  "difference" text,
  "points" real
);

Question: What is the highest Matches were the points were smaller than 8, the place was larger than 13, and the drawn is less than 1?
SQL: SELECT MAX("matches") FROM "table" WHERE "points"<8 AND "place">13 AND "drawn"<1;

Question: What is the average points when the drawn is less than 0?
SQL: SELECT AVG("points") FROM "table" WHERE "drawn"<0;