In this section we look into a few examples. First some sample tables are given. For each example a brief description along with the specification program for the aggregate is given. Then examples of PL/SQL code using the aggregates along with their output are given.