Departement lnformatik , ETH ZOrich Reducing Duplicate Work in Relational Joln ( s ) : A Unified Approach