What are the ids of the students who either registered or attended a course?
return students ;return #1 who  registered in a course ;return #1 who  attended a course ;return #2 ,  #3 ;return ids of  #4
['select', 'filter', 'filter', 'union', 'project']