For two columns to be comparable, they have to be of the same type, like id and student_id, which store numbers.

Make sure to pick ON student.id, followed by =, and finally enrolled.student_id.