CREATE TABLE "references" (
  "draw" real,
  "song" text,
  "performer" text,
  "points" real,
  "rank" text
);

Question: Which song has more than 66 points, a draw greater than 3, and is ranked 3rd?
SQL: SELECT "song" FROM "references" WHERE "points">66 AND "draw">3 AND "rank"='3rd';

Question: What is the lowest points when the ranking is 1st?
SQL: SELECT MIN("points") FROM "references" WHERE "rank"='1st';

Question: What is the average number of points when the ranking is 7th and the draw is less than 4?
SQL: SELECT AVG("points") FROM "references" WHERE "rank"='7th' AND "draw"<4;