Added selectJoin()