Database: activity_1
Question: Show all the faculty ranks and the number of students advised by each rank.
SQL:
SELECT T1.rank ,  count(*) FROM Faculty AS T1 JOIN Student AS T2 ON T1.FacID  =  T2.advisor GROUP BY T1.rank