functions Flashcards
1
Q
COUNT
A
takes one argument. Returns the number of rows matching the SELECTion
2
Q
SUM
A
takes a colunm as argument, returns sum of all values in that column
3
Q
MAX
A
retuns the row that has the greatest value of argument c1
4
Q
MIN
A
returns the row that has the smallest value of argument c1
5
Q
AVG
A
takes a column name and returns the average value of that column
6
Q
ROUND
A
first argument, value to round, second, number of decimal places to round to (ie 0 is whole number)