Question: Find the names of all instructors in the Art department who have taught some course and the course_id.
Schema: create table instructor (id varchar, dept_name varchar, PRIMARY KEY (id)); create table teaches (id varchar, PRIMARY KEY (id))
SQL: select name, course_id from instructor as t1 join teaches as t2 on t1.id = t2.id where t1.dept_name = 'art'