This query uses a LEFT JOIN to select all students, along with their classes if they enrolled in any.
LEFT JOIN
Make sure to pick student, followed by LEFT JOIN, and finally enrolled.
student
enrolled