question: What are the ids of the students who either registered or attended a course?
#1 return students 
#2 return #1 who  registered in a course 
#3 return #1 who  attended a course 
#4 return #2 ,  #3 
#5 return ids of  #4