What are the total enrollments of universities of each affiliation type?
SELECT sum(enrollment) ,  affiliation FROM university GROUP BY affiliation
total enrollments = SUM(enrollment); universities of each affiliation type refers to GROUP BY affiliation;