COMPUTE in combination with the BREAK command, calculates and prints summary lines using various standard computations.
COMP[UTE] [function [LAB[EL] text] ...
OF {expr|column|alias} ...
ON {expr|column|alias|REPORT|ROW} ...]
The following summary function are available:
See SQL Plus - Formatting Reports
BREAK ON REPORT
COMPUTE SUM OF "Segment Block" ON REPORT
Enter COMPUTE with no clauses to list the current COMPUTE definition.