aggregated functions sql code example
Example 1: aggregate function in sql
--- GROUP FUNCTION | MULTI ROW FUNCTION | AGGREGATE FUNCTION
--- COUNT , MAX , MIN , SUM , AVG
Example 2: aggregate function in sql
• Single Row Functions:(Lower, Upper, Substr, Length)
function that will run for each row and
return value for each row.
Multiple Row Functions (Group functions, Aggregate functions):
(Count, MIN , MAX, AVG, SUM)
will run for multiple rows and return a single value