Question: Find the number of professors with a Ph.D. degree in each department.
Schema: create table professor (dept_code varchar, prof_high_degree varchar, PRIMARY KEY (dept_code))
SQL: select count(*), dept_code from professor where prof_high_degree = 'ph.d.' group by dept_code