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 party (minister VARCHAR, took_office VARCHAR, left_office VARCHAR)
  ### Question:
  Show the ministers and the time they took and left office, listed by the time they left office.
  ### Answer:
  SELECT minister, took_office, left_office FROM party ORDER BY left_office