Database: activity_1
Question: What are the faculty id and the number of students each faculty has?
SQL:
SELECT T1.FacID ,  count(*) FROM Faculty AS T1 JOIN Student AS T2 ON T1.FacID  =  T2.advisor GROUP BY T1.FacID