OLAP and statistical databases: similarities and differences
An array-based algorithm for simultaneous multidimensional aggregates