An Extension of Relational Algebra for Summary Tables