What are the id of students who registered courses or attended courses?
SELECT student_id FROM student_course_registrations UNION SELECT student_id FROM student_course_attendance
students who registered courses refers to records in student_course_registrations; students who attended courses refers to records in student_course_attendance;