CREATE TABLE "average_chart" (
  "rank_by_average" real,
  "place" real,
  "couple" text,
  "total" real,
  "number_of_dances" real,
  "average" real
);

Question: What is the smallest place number when the total is 16 and average is less than 16?
SQL: SELECT MIN("place") FROM "average_chart" WHERE "total"=16 AND "average"<16;

Question: What is the average when the rank by average is more than 12?
SQL: SELECT SUM("average") FROM "average_chart" WHERE "rank_by_average">12;

Question: What is the average place for a couple with the rank by average of 9 and total smaller than 83?
SQL: SELECT AVG("place") FROM "average_chart" WHERE "rank_by_average"=9 AND "total"<83;

Question: What is the rank by average where the total was larger than 245 and the average was 27.1 with fewer than 15 dances?
SQL: SELECT AVG("rank_by_average") FROM "average_chart" WHERE "total">245 AND "average"=27.1 AND "number_of_dances"<15;