Question: list in alphabetic order all course names and their instructors' names in year 2008.
Schema: create table course (title varchar, course_id varchar, PRIMARY KEY (title)); create table teaches (course_id varchar, id varchar, PRIMARY KEY (course_id)); create table instructor (name varchar, id varchar, PRIMARY KEY (name))
SQL: select t1.title, t3.name from course as t1 join teaches as t2 on t1.course_id = t2.course_id join instructor as t3 on t2.id = t3.id where year = 2008 order by t1.title