CREATE TABLE "detailed_olympic_results" (
  "year" real,
  "competition_description" text,
  "location" text,
  "apparatus" text,
  "score_final" real,
  "score_qualifying" real
);

Question: Which apparatus had a final score that was more than 17.75?
SQL: SELECT "apparatus" FROM "detailed_olympic_results" WHERE "score_final">17.75;

Question: Which competition description's apparatus was ribbon?
SQL: SELECT "competition_description" FROM "detailed_olympic_results" WHERE "apparatus"='ribbon';

Question: Which Qualifying score had hoop as an apparatus?
SQL: SELECT "score_qualifying" FROM "detailed_olympic_results" WHERE "apparatus"='hoop';

Question: What is the sum of qualifying scores when the final score is 16.625?
SQL: SELECT COUNT("score_qualifying") FROM "detailed_olympic_results" WHERE "score_final"=16.625;