CREATE TABLE CLASS (class_room VARCHAR(255), prof_num VARCHAR(255)); CREATE TABLE professor (emp_num VARCHAR(255), dept_code VARCHAR(255)); CREATE TABLE department (dept_code VARCHAR(255), dept_name VARCHAR(255)); CREATE TABLE employee (emp_fname VARCHAR(255), emp_num VARCHAR(255))
Find the first names of all professors in the Accounting department who is teaching some course and the class room.
    
SQL: SELECT T2.emp_fname, T1.class_room FROM CLASS AS T1 JOIN employee AS T2 ON T1.prof_num = T2.emp_num JOIN professor AS T3 ON T2.emp_num = T3.emp_num JOIN department AS T4 ON T4.dept_code = T3.dept_code WHERE T4.dept_name = 'Accounting'