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_17 (date_of_appointment VARCHAR, replacement VARCHAR)
  ### Question:
  On what date was Paulo Sousa appointed?
  ### Answer:
  SELECT date_of_appointment FROM table_name_17 WHERE replacement = "paulo sousa"