SELECT name ,  course_id FROM instructor AS T1 JOIN teaches AS T2 ON T1.ID  =  T2.ID
What are the names of all instructors who have taught a course, as well as the corresponding course id?
SELECT name , course_id FROM instructor AS T1 JOIN teaches AS T2 ON T1.ID = T2.ID
select name , course_id from instructor as t1 join teaches as t2 on t1 . id = t2 . id
What are the names of all instructors who have taught a course , as well as the corresponding course id ?