Patch the join method in Sql\Select