Figure 3-5. Query Outline Of Qualification Aggregate With Over Over-Item Syntax - Tandem ENFORM 058057 Reference Manual

Data management library
Table of Contents

Advertisement

ENFORM Language Elements
Aggregates
3–20

Figure 3-5. Query Outline of Qualification Aggregate with OVER Over-item Syntax

OPEN employee;
LIST regnum,
branchnum,
WHERE salary GT AVG( salary OVER regnum );
The qualification aggregate value for each group is:
regnum
AVG salary
1
24666
2
28333
5
38000
99
39500
If employee has the following form when grouped by regnum and branchnum:
regnum
branchnum
1
1
2
2
1
5
3
99
1
The report produced is:
Region
Branch
------
------
2
1
1
1
1
1
1
1
1
2
058057 Tandem Computers Incorporated
salary
36000
19000
25000
26000
12000
30000
37000
25000
23000
38000
39500

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Enform

Table of Contents