Question: Show all the activity names and the number of faculty involved in each activity.
Schema: create table faculty_participates_in (actid varchar, PRIMARY KEY (actid)); create table activity (activity_name varchar, actid varchar, PRIMARY KEY (activity_name))
SQL: select t1.activity_name, count(*) from activity as t1 join faculty_participates_in as t2 on t1.actid = t2.actid group by t1.actid