Schema: CREATE TABLE student_course_attendance (student_id VARCHAR, course_id VARCHAR)
Question: What are the id of students who registered course 301?
SQL: SELECT student_id FROM student_course_attendance WHERE course_id = 301