With INNER JOIN, rows without a matching value in the common column don't appear in the results.

Make sure to pick INNER JOIN followed by enrolled and then ON, student.id = enrolled.id.