What are the ids of the students who registered for course 301?
SELECT student_id FROM student_course_attendance WHERE course_id  =  301
ids of the students who registered for course 301 refers to student_id WHERE course_id = 301;