text: Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request.  # noqa: E501
  ### 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"