What are the student IDs and middle names of the students enrolled in at most two courses?
select t1.student_id, t2.middle_name from student_course_enrolment as t1 join students as t2 on t1.student_id = t2.student_id group by t1.student_id having count(*) <= 2