Select from following answers:- AVG
- SUM
- COMPUTE

- None
- All Above
A COMPUTE BY clause allows you to see both detail and summary rows with one SELECT statement. You can calculate summary values for subgroups, or a summary value for the whole result set.
Example:
SELECT department_id, COUNT(*) as Total
FROM employees
GROUP BY department_id
compute sum(count(*))
Show Correct Answer
Asked In: Many Interviews |
Alert Moderator