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
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
[{'student_id': 2, 'middle_name': 'Luella'}, {'student_id': 3, 'middle_name': 'Brandt'}, {'student_id': 4, 'middle_name': 'Casimir'}, {'student_id': 6, 'middle_name': 'Asa'}, {'student_id': 9, 'middle_name': 'Kailey'}, {'student_id': 10, 'middle_name': 'Vicente'}, {'student_id': 11, 'middle_name': 'Kolby'}, {'student_id': 12, 'middle_name': 'Karley'}, {'student_id': 13, 'middle_name': 'Camilla'}, {'student_id': 14, 'middle_name': 'Ursula'}]