Home
Oracle PL / SQL
Aggregate Functions
Analytical Functions
Char Functions
Constraints
Conversion Functions
Cursor
Data Type
Date Timezone
Hierarchical Query
Index
Insert Delete Update
Large Objects
Numeric Math Functions
Object Oriented Database
PL SQL
Regular Expressions
Report Column Page
Result Set
Select Query
Sequence
SQL Plus
Stored Procedure Function
Subquery
System Packages
System Tables Views
Table
Table Joins
Trigger
User Previliege
View
XML
Menu
SUM « Aggregate Functions « Oracle PL / SQL
Oracle PL / SQL
Aggregate Functions
SUM
1.
SUM: total for all NOT NULL values, accepts only numeric datatype values
2.
Syntax: SUM([DISTINCT]|[ALL]
)
3.
GROUP BY function would produce inventory totals distributed across different vendors
4.
SUM function and NULLs
5.
Using the SUM function with GROUP BY Clause
6.
sum with column calculation
7.
Add an "OTHER" and "TOTAL" column to the report:
8.
Compute sum on salary
9.
Sum column for a certain time period
10.
Sum salary group by department number
11.
Sum salary over
12.
Sum() function and having clause
13.
Doing calculation in sum() function
14.
Wrap case when into sum() function