Schema: CREATE TABLE professor (dept_code VARCHAR, prof_high_degree VARCHAR)
Question: Find the number of professors with a Ph.D. degree in each department.
SQL: SELECT COUNT(*), dept_code FROM professor WHERE prof_high_degree = 'Ph.D.' GROUP BY dept_code