Instruct: What is the maximum total medals when the rank is 8?
Output: SELECT MAX Total FROM table WHERE Rank = 8