What is the last name and office of the professor from the history department?
SELECT T1.emp_lname ,  T2.prof_office FROM employee AS T1 JOIN professor AS T2 ON T1.emp_num  =  T2.emp_num JOIN department AS T3 ON T2.dept_code  =  T3.dept_code WHERE T3.dept_name  =  'History'
last name of the professor refers to emp_lname; office of the professor refers to prof_office; professor from the history department refers to dept_name = 'History'; joining tables employee, professor, and department based on employee number and department code;