Skip to main contentSkip to solution

Which of the following are aggregate functions?

(A). max( )

(B). sum( )

(C). count( )

(D). std( )

Solution

✅ Correct Option: 3

An aggregate function works on a set of values (a column or a group of rows) and returns a single value. All four given functions do this:

FunctionReturns
max( )largest value
sum( )total of the values
count( )number of values/rows
std( )standard deviation of the values

Option 2: leaves out std( ), which students often skip because it feels like a statistics function and not a "basic" aggregate. It still reduces a column to one value, so it is an aggregate function.

Keyboard Shortcuts

  • Left arrow: Previous question
  • Right arrow: Next question
  • S key: Jump to solution
  • Q key: Jump to question