Qualification Aggregates And Target Records - Tandem ENFORM 058057 Reference Manual

Data management library
Table of Contents

Advertisement

Qualification Aggregates and Target Records

A qualification aggregate functions as a full subquery. This means that ENFORM
computes the value for the aggregate over all the records in the data base file, (not over
the target records selected in the rest of the LIST or FIND statement) and uses the
result as input to the target list.
For example, the statement:
LIST BY job,
empname,
AVG (salary)
WHERE salary < AVG (salary);
gives:
All employees whose salaries are less than the average
The average of all salaries that are less than the average
058057 Tandem Computers Incorporated
ENFORM Language Elements
Aggregates
3–19

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Enform

Table of Contents