Recreated relational join solution