Students with the most enrolments

SQLHard13 min

Your task

Find students enrolled in the same number of courses as the maximum any student reached. Return name and courses, alphabetically.

Tables

student
idINTEGERnameTEXTyearINTEGER
1Tam1
2Uli2
3Vic2
4Wren3
course
idINTEGERtitleTEXTcreditsINTEGER
1Databases4
2Networks3
3Compilers4
4Ethics2
enrolment
student_idINTEGERcourse_idINTEGERgradeINTEGER
1188
1272
2191
2364
3191
3255
More rows not shown