Lesson 10: Aggregate Functions Flashcards

1
Q

Aggregate Function

A

A function where the values of multiple rows are combined to use in a calculation to return a single value of significant meaning

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Built-in Function

A

A function (pre-defined program) that is already available for use in SQL Server (and many other software programs).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

COUNT()

A

A function that returns the number of rows that match a specified criteria.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

SUM()

A

A function that returns the total sum of a numeric column.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

AVG()

A

A function that returns the average value of a numeric column.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

MIN()

A

A function that returns the smallest value of the selected column.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

MAX()

A

A function that returns the largest value of the selected column.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Column Alias

A

A temporary name given to a column to make the column name in the result-set more readable.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

SELECT DISTINCT

A

A statement used to return only different values.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly