filmov
tv
SQL Functions(Aggregate & Scalar Functions) - SQL Tutorial

Показать описание
SQL functions play a crucial role in this process, allowing you to perform various operations on your data.
*Scalar Functions*
Scalar functions are SQL functions that operate on a single value, typically a column value, and return a single result. These functions are applied to each row independently, making them useful for tasks like data formatting, transformation, or extraction. These functions include:
1. UCASE
2. LCASE
3. LEN
4. GETDATA
In this Tutorial we are discussing Aggregate Functions.
*Aggregate Functions*
*1) The AVG() Function*
The AVG function calculates the average (mean) value of a numeric column.
*2) COUNT() Function*
The COUNT(column_name) function returns the number of values (NULL values will not be counted) of the specified column.
*3) MAX() Function*
MAX returns the maximum value in a numeric column.
*4) MIN() Function*
MIN provides the minimum value in a numeric column.
*5) SUM() Function*
SUM adds up all the values in a numeric column, making it perfect for calculating total quantities or sums of money.
*Examples are included in the tutorial.*
*For more details visit website:*
*Please Subscribe the channel*
*Scalar Functions*
Scalar functions are SQL functions that operate on a single value, typically a column value, and return a single result. These functions are applied to each row independently, making them useful for tasks like data formatting, transformation, or extraction. These functions include:
1. UCASE
2. LCASE
3. LEN
4. GETDATA
In this Tutorial we are discussing Aggregate Functions.
*Aggregate Functions*
*1) The AVG() Function*
The AVG function calculates the average (mean) value of a numeric column.
*2) COUNT() Function*
The COUNT(column_name) function returns the number of values (NULL values will not be counted) of the specified column.
*3) MAX() Function*
MAX returns the maximum value in a numeric column.
*4) MIN() Function*
MIN provides the minimum value in a numeric column.
*5) SUM() Function*
SUM adds up all the values in a numeric column, making it perfect for calculating total quantities or sums of money.
*Examples are included in the tutorial.*
*For more details visit website:*
*Please Subscribe the channel*