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_name VARCHAR, credits INTEGER)
  ### Question:
  Find the total credits of courses provided by different department.
  ### Answer:
  SELECT SUM(credits), dept_name FROM course GROUP BY dept_name