functions Flashcards

1
Q

COUNT

A

takes one argument. Returns the number of rows matching the SELECTion

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

SUM

A

takes a colunm as argument, returns sum of all values in that column

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

MAX

A

retuns the row that has the greatest value of argument c1

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

MIN

A

returns the row that has the smallest value of argument c1

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

AVG

A

takes a column name and returns the average value of that column

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

ROUND

A

first argument, value to round, second, number of decimal places to round to (ie 0 is whole number)

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