Getting started with group functions
The accounting department of eSymphony needs a report with the lowest, highest, sum, and average invoice amounts. The columns need to be labeled MINIMUM, MAXIMUM, SUM, and AVERAGE, respectively.
MINIMUM | MAXIMUM | SUM | AVERAGE |
---|---|---|---|
0.99 | 25.86 | 2328.6 | 5.651942 |
Let's help them out.
Este exercício faz parte do curso
Introduction to Oracle SQL
Exercício interativo prático
Experimente este exercício completando este código de exemplo.
-- Calculate the required values from the Invoice table
SELECT ___,
___,
___,
___
___ ___