AGGREGATE FUNCTIONS Flashcards

values of multiple rows are grouped together

1
Q

AGGREGATE FUNCTIONS

A

values of multiple rows are grouped together

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

COUNT():

A

return the number of rows that match a specified condition. It is often used to count the total number of rows in a table or the number of rows that meet specific criteria.

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

SUM():

A

the total sum of a numeric column. It adds up all the values in the column and returns the sum.

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

AVG()

A

used to return the average value of a numeric column

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

MAX()

A

return the largest value of the selected column. It compares all values in the column and returns the largest one.

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

MIN

A

return the smallest value of the selected column. It compares all values in the column and returns the smallest one

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