CREATE TABLE "average_score_chart" (
  "rank_by_average" real,
  "place" real,
  "couple" text,
  "total_points" real,
  "number_of_dances" real,
  "average" real
);

Question: What is the total rank with more than 392 total points and an 24.8 average?
SQL: SELECT COUNT("rank_by_average") FROM "average_score_chart" WHERE "total_points">392 AND "average"=24.8;

Question: What is the highest average with less than 3 places, less than 433 total points, and a rank less than 2?
SQL: SELECT MAX("average") FROM "average_score_chart" WHERE "place"<3 AND "total_points"<433 AND "rank_by_average"<2;

Question: What is the total average with 54 total points and a rank less than 10?
SQL: SELECT COUNT("average") FROM "average_score_chart" WHERE "total_points"=54 AND "rank_by_average"<10;

Question: What is the total rank by average for 2 dances, which have more than 37 total points?
SQL: SELECT COUNT("rank_by_average") FROM "average_score_chart" WHERE "number_of_dances"=2 AND "total_points">37;