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_61 (director VARCHAR, title VARCHAR, studio VARCHAR, year VARCHAR)
  ### Question:
  Who was the director for To Have and Have Not, earlier than 1945 with WB studio?
  ### Answer:
  SELECT director FROM table_name_61 WHERE studio = "wb" AND year < 1945 AND title = "to have and have not"