Table: olympic_skating
Columns: final_rank
skater
rank_in_sp
rank_in_fs
total_score

Question: How many skaters have a Rank in FS of 3, and a Rank in SP larger than 4?
SQL: SELECT COUNT("final_rank") FROM olympic_skating WHERE "rank_in_fs" = 3 AND "rank_in_sp" > 4

Question: What is the average SP rank for skaters with a Rank in FS larger than 2, and a Final Rank larger than 5?
SQL: SELECT AVG("rank_in_sp") FROM olympic_skating WHERE "rank_in_fs" > 2 AND "final_rank" > 5