How many professors have a Ph.D. in each department?
SELECT count(*) ,  dept_code FROM professor WHERE prof_high_degree  =  'Ph.D.' GROUP BY dept_code
count of professors with a Ph.D. in each department refers to COUNT(*) WHERE prof_high_degree = 'Ph.D.' GROUP BY dept_code;