Context: CREATE TABLE table_name_22 (shirt_number INTEGER, cap_number VARCHAR)
Question: What's the largest shirt number when the cap number is 5?
Answer: SELECT MAX(shirt_number) FROM table_name_22 WHERE cap_number = 5