CREATE TABLE department (dept_code VARCHAR(255), dept_name VARCHAR(255)); CREATE TABLE professor (prof_office VARCHAR(255), emp_num VARCHAR(255), dept_code VARCHAR(255), prof_high_degree VARCHAR(255)); CREATE TABLE employee (emp_fname VARCHAR(255), emp_num VARCHAR(255))
Find the first name and office of history professor who did not get a Ph.D. degree.
    
SQL: 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.'