You can add single entity views with or without a WHERE clause as discussed in the following examples:
To determine the total number of employees listed in the database, use a statement similar to the following example:
SUMMARIZE employee PLACING count(OCCURRENCES) INTO local ief_supplied count
To find the total salaries of all exempt employees, use a statement similar to the following example:
SUMMARIZE employee PLACING sum(employee salary) INTO local employee salary WHERE DESIRED employee classification = `EX'
|
Copyright © 2014 CA.
All rights reserved.
|
|