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 job_history (employee_id VARCHAR, end_date INTEGER)
  ### Question:
  display the employee ID for each employee and the date on which he ended his previous job.
  ### Answer:
  SELECT employee_id, MAX(end_date) FROM job_history GROUP BY employee_id