What are the login names used both by some course authors and some students?
select login_name from course_authors_and_tutors intersect select login_name from students