CREATE TABLE employee (emp_fname VARCHAR(255), emp_num VARCHAR(255)); CREATE TABLE department (dept_name VARCHAR(255), dept_code VARCHAR(255)); CREATE TABLE course (crs_description VARCHAR(255), crs_code VARCHAR(255)); CREATE TABLE CLASS (prof_num VARCHAR(255), crs_code VARCHAR(255)); CREATE TABLE professor (prof_office VARCHAR(255), emp_num VARCHAR(255), dept_code VARCHAR(255))
Find the first names and offices of all instructors who have taught some course and the course description and the department name.
    
SQL: SELECT T2.emp_fname, T4.prof_office, T3.crs_description, T5.dept_name FROM CLASS AS T1 JOIN employee AS T2 ON T1.prof_num = T2.emp_num JOIN course AS T3 ON T1.crs_code = T3.crs_code JOIN professor AS T4 ON T2.emp_num = T4.emp_num JOIN department AS T5 ON T4.dept_code = T5.dept_code