Exercise - 2 SQL Aggregation and Built in Functions
Exercise - 2 SQL Aggregation and Built in Functions
Exercise - 2 SQL Aggregation and Built in Functions
Ex. No. 2
AVG MIN
CHECKSUM_AGG SUM
COUNT STDEV
COUNT_BIG STDEVP
GROUPING VAR
GROUPING_ID VARP
MAX
Here are some examples of the use of some of these numeric functions:
String Functions
select initcap ("now is the time for all good men to come to the aid of the
party") as "SLOGAN" from dual;
Symbol Explanation
9 Each 9 represents one digit in the result
0 Represents a leading zero to be displayed
$ Floating dollar sign printed to the left of number
L Any local floating currency symbol
. Prints the decimal point
, Prints the comma to represent thousands
Group Functions
Date Formats