Note that this time the subtotals are computed for every employee, and then,
for all employees.
Partial rollups, that is, rollups that involve only a subset of the grouping
attributes, are always possible as shown in the next example.
Example 5.17.13 Suppose that we need to count the number of times a stu-
dent takes a course and the number of course offerings a student took. This can
be achieved by: