What is the id of the student who most recently registered course 301?
create table student_course_attendance (student_id varchar, course_id varchar, date_of_attendance varchar, PRIMARY KEY (student_id))
select student_id from student_course_attendance where course_id = 301 order by date_of_attendance desc limit 1