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 course (dept_code VARCHAR, crs_credit INTEGER)
  ### Question:
  What is the total credit does each department offer?
  ### Answer:
  SELECT SUM(crs_credit), dept_code FROM course GROUP BY dept_code