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_29 (first_cap VARCHAR, goals VARCHAR, caps VARCHAR)
  ### Question:
  When was the first cap associated with 39 caps and under 33 goals?
  ### Answer:
  SELECT first_cap FROM table_name_29 WHERE goals < 33 AND caps = 39