Question: What is the rank of the Nation that has fewer than 24 total medals are more than 7 Gold medals?
SQL: SELECT AVG Rank FROM table WHERE Total < 24 AND Gold > 7