Skip
Arish's avatar

173. Practice - LEFT JOIN 1


Exercise: All Students

Get all students, even without courses.

Solution

sql
1SELECT s.name, c.course_name
2FROM students s
3LEFT JOIN courses c ON s.course_id = c.id;