human
Schema:
Campuses (Id, Campus, Location, County, Year)
csu_fees (Campus, Year, CampusFee)
degrees (Year, Campus, Degrees)
discipline_enrollments (Campus, Discipline, Year, Undergraduate, Graduate)
enrollments (Campus, Year, TotalEnrollment_AY, FTE_AY)
faculty (Campus, Year, Faculty)
Please answer with SQL.
assistant
Sure, I understand.
human
Which campuses are in Northridge, Los Angeles?
assistant
SELECT campus FROM campuses WHERE LOCATION = 'Northridge' AND county = 'Los Angeles';
human
How many are there?
assistant
SELECT COUNT( * ) FROM campuses WHERE LOCATION = 'Northridge' AND county = 'Los Angeles';
human
How about the number of campuses that are in San Francisco, San Francisco?
assistant
SELECT COUNT( * ) FROM campuses WHERE LOCATION = "San Francisco" AND county = "San Francisco" ;