Find the names of all instructors who have taught some course and the course_id.
CREATE TABLE instructor (ID VARCHAR); CREATE TABLE teaches (ID VARCHAR)
SELECT name, course_id FROM instructor AS T1 JOIN teaches AS T2 ON T1.ID = T2.ID
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE instructor (ID VARCHAR); CREATE TABLE teaches (ID VARCHAR) Question: Find the names of all instructors who have taught some course and the course_id. [/INST] SELECT name, course_id FROM instructor AS T1 JOIN teaches AS T2 ON T1.ID = T2.ID </s>