Find the first name and office of history professor who did not get a Ph.D. degree.
create table department (dept_code varchar, dept_name varchar, PRIMARY KEY (dept_code)); create table professor (prof_office varchar, emp_num varchar, dept_code varchar, prof_high_degree varchar, PRIMARY KEY (prof_office)); create table employee (emp_fname varchar, emp_num varchar, PRIMARY KEY (emp_fname))
select t2.emp_fname, t1.prof_office from professor as t1 join employee as t2 on t1.emp_num = t2.emp_num join department as t3 on t1.dept_code = t3.dept_code where t3.dept_name = 'history' and t1.prof_high_degree <> 'ph.d.'