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
what is the activity id of faculty id of 1082
assistant
SELECT actid FROM Faculty_Participates_in WHERE FacID = 1082;
human
what is the rank of mark
assistant
SELECT Rank FROM Faculty WHERE Fname = "Mark" ;