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 student (name VARCHAR, dept_name VARCHAR, tot_cred VARCHAR)
  ### Question:
  What is the name of the student who has the highest total credits in the History department.
  ### Answer:
  SELECT name FROM student WHERE dept_name = 'History' ORDER BY tot_cred DESC LIMIT 1