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
How many professors do you have in buildings? | Can you clarify your question? | Total number of professors in NEB building?
assistant
SELECT COUNT( * ) FROM Faculty WHERE Rank = 'Professor' AND building = 'NEB';
human
What of instructors?
assistant
SELECT COUNT( * ) FROM Faculty WHERE Rank = 'Instructor' AND building = 'NEB';
human
What of total number of faculty?
assistant
SELECT COUNT( * ) FROM Faculty WHERE building = "NEB" ;