Question: Show names of teachers and the courses they are arranged to teach.
Schema: create table course_arrange (course_id varchar, teacher_id varchar, PRIMARY KEY (course_id)); create table teacher (name varchar, teacher_id varchar, PRIMARY KEY (name)); create table course (course varchar, course_id varchar, PRIMARY KEY (course))
SQL: select t3.name, t2.course from course_arrange as t1 join course as t2 on t1.course_id = t2.course_id join teacher as t3 on t1.teacher_id = t3.teacher_id