What are the ids of the courses that are registered or attended by the student whose id is 121?
select course_id from student_course_registrations where student_id = 121 union select course_id from student_course_attendance where student_id = 121