With INNER JOIN, rows without a matching value in the common column don't appear in the results.
INNER JOIN
Make sure to pick INNER JOIN followed by enrolled and then ON, student.id = enrolled.id.
enrolled
ON
student.id = enrolled.id