An array-based algorithm for simultaneous multidimensional aggregates (Proceedings of the 1997 ACM SIGMOD international conference on Management of data - SIGMOD '97)