Fix bug: 'student_course_enrolment' table contains duplicate entries because we need to SELECT DISTINCT and not just SELECT.