Efficient Evaluation of Expressions in a Relational Algebra