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 professor (dept_code VARCHAR, prof_high_degree VARCHAR)
  ### Question:
  Find the number of professors with a Ph.D. degree in each department.
  ### Answer:
  SELECT COUNT(*), dept_code FROM professor WHERE prof_high_degree = 'Ph.D.' GROUP BY dept_code