Task: Text to Code
Input (English): Show the ids of all the faculty members who participate in an activity and advise a student.
Output (English): SELECT FacID FROM Faculty_participates_in INTERSECT SELECT advisor FROM Student