Finding and materializing common subexpressions among queries in a query workload