What is the average SP rank for skaters with a Rank in FS larger than 2, and a Final Rank larger than 5?
CREATE TABLE "program_details" (
  "final_rank" real,
  "skater" text,
  "rank_in_sp" real,
  "rank_in_fs" real,
  "total_score" text
);
SELECT AVG("rank_in_sp") FROM "program_details" WHERE "rank_in_fs">2 AND "final_rank">5;