SELECT student_id FROM student_course_registrations GROUP BY student_id ORDER BY count(*) LIMIT 1
What are the ids of the students who registered for some courses but had the least number of courses for all students?
SELECT student_id FROM student_course_registrations GROUP BY student_id ORDER BY count ( * ) LIMIT 1
select student_id from student_course_registrations group by student_id order by count ( * ) limit value
What are the ids of the students who registered for some courses but had the least number of courses for all students ?