Lesson 10: Aggregate Functions Flashcards
Aggregate Function
A function where the values of multiple rows are combined to use in a calculation to return a single value of significant meaning
Built-in Function
A function (pre-defined program) that is already available for use in SQL Server (and many other software programs).
COUNT()
A function that returns the number of rows that match a specified criteria.
SUM()
A function that returns the total sum of a numeric column.
AVG()
A function that returns the average value of a numeric column.
MIN()
A function that returns the smallest value of the selected column.
MAX()
A function that returns the largest value of the selected column.
Column Alias
A temporary name given to a column to make the column name in the result-set more readable.
SELECT DISTINCT
A statement used to return only different values.