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