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

Question: What was the name of the couple if the number of dances is 6?
SQL: SELECT "couple" FROM "average_chart" WHERE "number_of_dances"=6;

Question: What is the name of the couple if the total points earned is 161?
SQL: SELECT "couple" FROM "average_chart" WHERE "total_points_earned"=161;

Question: What is the total points earned total number if the average is 21.3?
SQL: SELECT COUNT("total_points_earned") FROM "average_chart" WHERE "average"='21.3';

Question: What is the number of dances total number if the average is 22.3?
SQL: SELECT COUNT("number_of_dances") FROM "average_chart" WHERE "average"='22.3';