Task: Text to Code
Input (English): What are the ids of the students who either registered or attended a course?
Output (English): SELECT student_id FROM student_course_registrations UNION SELECT student_id FROM student_course_attendance