Database: student_assessment
Question: What are the ids of the students who either registered or attended a course?
SQL:
SELECT student_id FROM student_course_registrations UNION SELECT student_id FROM student_course_attendance