Question: What is department name and office for the professor whose last name is Heffington?
Schema: create table employee (emp_num varchar, emp_lname varchar, PRIMARY KEY (emp_num)); create table department (dept_name varchar, dept_code varchar, PRIMARY KEY (dept_name)); create table professor (prof_office varchar, emp_num varchar, dept_code varchar, PRIMARY KEY (prof_office))
SQL: select t3.dept_name, 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 t1.emp_lname = 'heffington'