Show the ids of all the faculty members who participate in an activity.
select facid from faculty_participates_in
Show the ids of all the faculty members who advise a student.
select advisor from student
Show the ids of all the faculty members who do both.
select facid from faculty_participates_in intersect select advisor from student