Context: CREATE TABLE table (r INTEGER, total VARCHAR)
Question: If the total is 6, what is the maximum R?
Answer: SELECT MAX(r) FROM table WHERE total = 6