SELECT student_id FROM student_course_attendance WHERE course_id = 301 ORDER BY date_of_attendance DESC LIMIT 1
What are the ids of the students who registered for course 301 most recently?
SELECT student_id FROM student_course_attendance WHERE course_id = 301 ORDER BY date_of_attendance DESC LIMIT 1
select student_id from student_course_attendance where course_id = value order by date_of_attendance desc limit value
What are the ids of the students who registered for course 301 most recently ?