select related in team