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