CREATE TABLE "competitive_history" (
  "year" real,
  "competition" text,
  "location" text,
  "apparatus" text,
  "rank_final" real,
  "score_final" text,
  "rank_qualifying" real,
  "score_qualifying" text
);

Question: In Ghent in 2011, what was the rank-qualifying value when the score-qualifying value was 14.850
SQL: SELECT MAX("rank_qualifying") FROM "competitive_history" WHERE "location"='Ghent' AND "year"=2011 AND "score_qualifying"='14.850';

Question: What was the maximum rank-final score on the floor exercise?
SQL: SELECT MAX("rank_final") FROM "competitive_history" WHERE "apparatus"='Floor Exercise';

Question: What was the maximum rank-final value for a score of 14.975?
SQL: SELECT MAX("rank_final") FROM "competitive_history" WHERE "score_final"='14.975';

Question: Where did the event with a final score of 15.050 occur?
SQL: SELECT "location" FROM "competitive_history" WHERE "score_final"='15.050';