Lab 09
Lab 09
IT[244]
Lab #:09
FACULTY OF CS & IT
UNIVERSITY OF GUJRAT
SQL Functions
• SQL functions can be used to do the
followings.
– Perform calculations on data.
– Modify individual data items.
– Manipulate output for group of rows.
– Format dates and number for display.
– Convert column data types.
AVG(NVL(COMM,0))
----------------
157.14286
Using the Count Function
The Count function will return the Average
value of column
JOB PAYROLL
--------- ---------
ANALYST 6000
MANAGER 8275