Which of the following are multiple row functions?
(A) Sum
(B) Count
(C) Left
(D) Max
Which of the following are multiple row functions?
(A) Sum
(B) Count
(C) Left
(D) Max
Solution
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 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).
Related questions:
2025: 14 May Shift 1
2025: 27 May Shift 2
2025: 20 May Shift 1
2026: 24 May Shift 1
2026: 21 May Shift 1