Context: CREATE TABLE table_name_22 (uni_number VARCHAR, bats VARCHAR, surname VARCHAR)
Question: What's the Uni# of Timms, who has bats of R?
Answer: SELECT uni_number FROM table_name_22 WHERE bats = "r" AND surname = "timms"