Linq query for removing matching data and joining

Handling empty result