Database: activity_1
Question: Show the ids of all the faculty members who participate in an activity and advise a student.
SQL:
SELECT FacID FROM Faculty_participates_in INTERSECT SELECT advisor FROM Student