When doing the join take into the account of extra columns in the relational table