Task: Text to Code
Input (English): Find the id of courses which are registered or attended by student whose id is 121?
Output (English): SELECT course_id FROM student_course_registrations WHERE student_id = 121 UNION SELECT course_id FROM student_course_attendance WHERE student_id = 121