Implemented JOIN.