aggregate function in mssql code example
Example: SQL Aggregate Functions
MAX – To find the number of the maximum values in the SQL table.
MIN – Number of the minimum values in the table.
COUNT – Get the number of count values in the SQL table.
AVG – Find average values in the SQL table.
SUM – Return the summation of all non-null values in the SQL table.