SQL - Table Relationships
Given these tables:
What will this query return?
Teacher: (1, 'Smith'), (2, 'Jones')Course: (100, 'Math'), (200, 'Science')TeacherCourse: (1, 100), (2, 100), (2, 200)What will this query return?
SELECT c.Name FROM Course c JOIN TeacherCourse tc ON c.ID = tc.CourseID WHERE tc.TeacherID = 2;
