Curated · Measures: Categorization & Computations

MCQ · 1 mark · Problem DBMS-DWH-0030

Which one of the following aggregate functions is holistic, that is, it cannot be computed from a fixed number of sub-aggregates of the partitions of the data?
  1. A
    SUM
  2. B
    AVG
  3. C
    MAX
  4. D
    MEDIAN

Solve it on GATE DA practice →More Data Warehouse Modelling problems

Show the worked solution\[\boxed{\text{distributive: } f(\text{parts}) \text{ combine};\ \ \text{algebraic: a fixed number of distributive values};\ \ \text{holistic: no bound}}\]SUM and MAX are distributive (sum of sums, max of maxes). AVG is algebraic: SUM / COUNT.MEDIAN needs the whole set of values; no fixed-size summary of each partition determines it — holistic.Answer: D

GATE DA practice: past exam problems by chapter, with worked solutions · gatedaprep.com