Skip to main contentSkip to solution

Which of the following are multiple row functions?

(A) Sum

(B) Count

(C) Left

(D) Max

Solution

✅ Correct Option: 3

Multiple row functions (aggregate or group functions) take values from many rows and return one result for the whole group. Sum, Count and Max are all of this type: Sum adds the values, Count counts the rows, and Max returns the largest value.


Option 1: Left is a single row function. It works on one string value in each row, for example LEFT(’Delhi’,3)\text{LEFT}(\text{'Delhi'}, 3) gives 'Del', and returns one output per row.

Options 2 and 4: each leaves out an aggregate function. Count and Max are both multiple row functions.

Single row functions include text functions (Left, Upper, Length), numeric functions (Round, Mod) and date functions (Now, Year).

Keyboard Shortcuts

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