“…For instance, aggregate x 3 .C2 is the average duration of a stay over all detail tuples in stays with D ≤ 01/02/13 and U ≤ 2, i.e., the tuples {r 1 , r 2 , r 4 , r 5 , r 6 , r 7 , r 8 }. While one-dimensional range aggregates can be solved efficiently with SQL window functions, multi-dimensional range aggregates require expensive joins with range predicates [1].…”