Database: activity_1
Question: What are ids of the faculty members who not only participate in an activity but also advise a student.
SQL:
SELECT FacID FROM Faculty_participates_in INTERSECT SELECT advisor FROM Student