
the sum of each month's sales, and then uses the SUM function a second time to total the
monthly sums into one grand total.
sum(calculated JanTotal, calculated FebTotal,
calculated MarTotal) as GrandTotal format=dollar10.
An alternative way to code the grand total calculation is to use nested functions:
sum(sum(January), sum(February), sum(March))
as GrandTotal format=dollar10.
Creating a Summary Report
Problem
You have a table that contains detailed sales information. You want to produce a
summary report from the detail table.
Background Information
There is one input table, called Sales, that contains detailed sales information. There is
one record ...