CREATE TABLE table_name_22 (shirt_number INT, cap_number VARCHAR)

What's the largest shirt number when the cap number is 5?
SELECT MAX(shirt_number) FROM table_name_22 WHERE cap_number = 5
SELECT MAX("shirt_number") FROM "table_name_22" WHERE "cap_number" = 5