human
Schema:
Activity (actid, activity_name)
Participates_in (stuid, actid)
Faculty_Participates_in (FacID, actid)
Student (StuID, LName, Fname, Age, Sex, Major, Advisor, city_code)
Faculty (FacID, Lname, Fname, Rank, Sex, Phone, Room, Building)
Please answer with SQL.
assistant
Sure, I understand.
human
Show first and last name and activity ids for all faculty participating in activities.
assistant
SELECT T1.fname , T1.lname , T2.actid FROM Faculty AS T1 JOIN Faculty_participates_in AS T2 ON T1.facID = T2.facID ;